diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2015-07-02 13:39:36 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2015-07-02 13:39:36 -0700 |
commit | 029bbf6fbf34c4bf05eddf095a39b5dac17c66ab (patch) | |
tree | e3f81ecfe7d87e3c9c7c76546efbc49031dd1b47 | |
parent | e411eb1b4119ed9abf321712e896360e16a78322 (diff) |
Use sysexits.h to improve cydo error status codes.
-rw-r--r-- | cydo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ +#include <sysexits.h> #include <unistd.h> int main(int argc, char *argv[]) { @@ -12,5 +13,5 @@ int main(int argc, char *argv[]) { } execv(argv[0], argv); - return 1; + return EX_UNAVAILABLE; } |