summaryrefslogtreecommitdiff
path: root/Src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c
index 923b94876..4c08c8c65 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -168,7 +168,7 @@ loop(int toplevel, int justonce)
else
addlinknode(args, "");
addlinknode(args, dupstring(getjobtext(prog, NULL)));
- addlinknode(args, cmdstr = getpermtext(prog, NULL));
+ addlinknode(args, cmdstr = getpermtext(prog, NULL, 0));
callhookfunc("preexec", args, 1, NULL);