Browse Source

Return a failure code when aborting.

Christopher Kohnert 8 years ago
parent
commit
cbc5797bd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -333,7 +333,7 @@ static const char *helpText =
     "\n";
 
 int main(int argc, const char * const *argv) {
-    #define ABORT(msg) { puts(msg); return 0; }
+    #define ABORT(msg) { puts(msg); return 1; }
 
     // Parse command line arguments
     enum {