summaryrefslogtreecommitdiff
path: root/coreutils/mkfifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/mkfifo.c')
-rw-r--r--coreutils/mkfifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/mkfifo.c b/coreutils/mkfifo.c
index 5e1bc1a..ef4a525 100644
--- a/coreutils/mkfifo.c
+++ b/coreutils/mkfifo.c
@@ -55,7 +55,7 @@ extern int mkfifo_main(int argc, char **argv)
usage(mkfifo_usage);
if (mkfifo(*argv, mode) < 0) {
perror("mkfifo");
- exit(255);
+ return EXIT_FAILURE;
}
- return(TRUE);
+ return EXIT_SUCCESS;
}