From 029bbf6fbf34c4bf05eddf095a39b5dac17c66ab Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 2 Jul 2015 13:39:36 -0700 Subject: [PATCH] Use sysexits.h to improve cydo error status codes. --- cydo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cydo.cpp b/cydo.cpp index 0aad3936..485d6475 100644 --- a/cydo.cpp +++ b/cydo.cpp @@ -1,3 +1,4 @@ +#include #include 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; } -- 2.45.2