summaryrefslogtreecommitdiff
path: root/myrbuild/myrbuild.c
diff options
context:
space:
mode:
Diffstat (limited to 'myrbuild/myrbuild.c')
-rw-r--r--myrbuild/myrbuild.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/myrbuild/myrbuild.c b/myrbuild/myrbuild.c
index da69e73..37726fe 100644
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -107,6 +107,7 @@ void run(char **cmd)
printl(cmd);
pid = fork();
+ status = 0;
if (pid == -1) {
err(1, "Could not fork");
} else if (pid == 0) {