summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pamment <apamment@yandex.com>2019-04-20 14:57:23 +1000
committerAndrew Pamment <apamment@yandex.com>2019-04-20 14:57:23 +1000
commit44aaed83d3e90db9c0310cbdbd4da07bcdc3bbb6 (patch)
treeab8741497dee3f1de476d80f6f88a38ee25189aa
parent3bf5a6bb2d7cda480bc004f3369712687679dcc8 (diff)
Fix for missing doors.
-rw-r--r--src/doors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doors.c b/src/doors.c
index 6cca67d..4fd01b8 100644
--- a/src/doors.c
+++ b/src/doors.c
@@ -314,6 +314,7 @@ void runexternal(struct user_record *user, char *cmd, int stdio, char *argv[], c
ioctl(0, TIOCSCTTY, 1);
execvp(cmd, argv);
+ exit(-1);
} else {
running_door_pid = pid;
gotiac = 0;