Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1

Fixed for consistency purposes.
This commit is contained in:
sin
2013-10-07 16:41:55 +01:00
parent ac033652fe
commit b5a511dacf
52 changed files with 67 additions and 60 deletions

2
tty.c
View File

@@ -22,5 +22,5 @@ main(int argc, char *argv[])
tty = ttyname(STDIN_FILENO);
puts(tty ? tty : "not a tty");
return tty ? 0 : 1;
return tty ? EXIT_SUCCESS : EXIT_FAILURE;
}