aboutsummaryrefslogtreecommitdiff
path: root/src/runscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runscript.c')
-rw-r--r--src/runscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runscript.c b/src/runscript.c
index 8057c99e..f7d49fb7 100644
--- a/src/runscript.c
+++ b/src/runscript.c
@@ -1049,7 +1049,7 @@ int runscript (int argc, char **argv)
/* Ensure our environment is pure
Also, add our configuration to it */
env = rc_filter_env ();
- env = rc_strlist_join (env, rc_make_env ());
+ rc_strlist_join (&env, rc_make_env ());
if (env) {
char *p;