diff options
Diffstat (limited to 'guts/execvp.c')
-rw-r--r-- | guts/execvp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guts/execvp.c b/guts/execvp.c index 67eaff0..a3ce05b 100644 --- a/guts/execvp.c +++ b/guts/execvp.c @@ -13,7 +13,9 @@ * <CHROOT>/bin/sh. This allows use of basic utilities. This * design will likely be revisited. */ - pseudo_client_op(OP_EXEC, PSA_EXEC, -1, -1, file, 0); + if (antimagic == 0) { + pseudo_client_op(OP_EXEC, PSA_EXEC, -1, -1, file, 0); + } if (!pseudo_get_value("PSEUDO_RELOADED")) pseudo_setupenv(); |