Browse Source

Fix return codes for main()

Fredrik Haikarainen 10 years ago
parent
commit
7ee922c192
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/main.c

+ 2
- 2
src/main.c View File

2
 
2
 
3
 #include <stdio.h>
3
 #include <stdio.h>
4
 
4
 
5
-#define LIGHT_RETURNVAL_INITFAIL  -2
6
-#define LIGHT_RETURNVAL_EXECFAIL  -1
5
+#define LIGHT_RETURNVAL_INITFAIL  2
6
+#define LIGHT_RETURNVAL_EXECFAIL  1
7
 #define LIGHT_RETURNVAL_SUCCESS   0
7
 #define LIGHT_RETURNVAL_SUCCESS   0
8
 
8
 
9
 int main(int argc, char** argv)
9
 int main(int argc, char** argv)