summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/syndaemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syndaemon.c b/tools/syndaemon.c
index a8a0499..d527b76 100644
--- a/tools/syndaemon.c
+++ b/tools/syndaemon.c
@@ -598,7 +598,7 @@ main(int argc, char *argv[])
FILE *fd = fopen(pid_file, "w");
if (!fd) {
perror("Can't create pid file");
- exit(2);
+ exit(3);
}
fprintf(fd, "%d\n", getpid());
fclose(fd);
@@ -616,7 +616,7 @@ main(int argc, char *argv[])
else {
fprintf(stderr, "Use of XRecord requested, but failed to "
" initialize.\n");
- exit(2);
+ exit(4);
}
} else
#endif /* HAVE_X11_EXTENSIONS_RECORD_H */