summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 841392b505..cfbf9182ea 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4260,7 +4260,7 @@ PP(pp_exec)
(void) do_spawn(SvPVx_nolen(sv_mortalcopy(*SP)));
value = 0;
# else
- value = (I32)do_exec3(SvPVx_nolen(sv_mortalcopy(*SP)), 0, 0);
+ value = (I32)do_exec(SvPVx_nolen(sv_mortalcopy(*SP)));
# endif
#endif
}