summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-12-07 21:14:05 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-12-07 21:14:05 +0000
commit6aa0498854b6e064db8ee6de6c572029a52a4710 (patch)
treefd824a25cfe4a17b181b308a06fb277c8aa944ed
parent727b3c755d6db784cedc1d334d4a70ce72543d0d (diff)
downloadmailutils-6aa0498854b6e064db8ee6de6c572029a52a4710.tar.gz
mailutils-6aa0498854b6e064db8ee6de6c572029a52a4710.tar.bz2
(spawn_prog): Bugfix
-rw-r--r--mailbox/acl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mailbox/acl.c b/mailbox/acl.c
index 0b1dcfb6c..fab8dac5a 100644
--- a/mailbox/acl.c
+++ b/mailbox/acl.c
@@ -478,6 +478,7 @@ spawn_prog (const char *cmdline, int *pstatus, struct run_closure *rp)
for (i = getmaxfd (); i > 2; i--)
close (i);
execvp (argv[0], argv);
+ exit (127);
}
free (s);

Return to:

Send suggestions and report system problems to the System administrator.