aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMr. Goblin <mrgoblin@mrgoblin.net>2026-09-18 16:43:35 +0300
committerMr. Goblin <mrgoblin@mrgoblin.net>2026-09-18 16:43:35 +0300
commit80f5d3071d92b57204e48f3cd9789651ab2ba83b (patch)
tree3ff5a79955b4561c83299070472c21d703342888 /src
parent1587bd7a16ac902dd694012c34f572a29bbbf648 (diff)
changed _exit() code if didn't execvp()
Diffstat (limited to 'src')
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index 58730dc..6357388 100644
--- a/src/db.c
+++ b/src/db.c
@@ -186,7 +186,7 @@ main(void)
return 1;
} else if (pid == 0) {
execlp("rm", "rm", "-rf", "test_db", NULL);
- _exit(128);
+ _exit(127);
} else {
wait(NULL);
}