summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/tools/aw/aw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/tools/aw/aw.c b/usr/src/tools/aw/aw.c
index ba7d663187..32c7b72145 100644
--- a/usr/src/tools/aw/aw.c
+++ b/usr/src/tools/aw/aw.c
@@ -285,6 +285,7 @@ filter(int pipein, int pipeout)
break;
case -1:
perror("fork");
+ exit(1);
default:
return (pid);
}
@@ -410,6 +411,7 @@ invoke(char **argv, int pipein, int pipeout)
break;
case -1:
perror("fork");
+ exit(1);
default:
return (pid);
}