Ver código fonte

Fix return codes for main()

Fredrik Haikarainen 10 anos atrás
pai
commit
7ee922c192
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      src/main.c

+ 2
- 2
src/main.c Ver arquivo

@@ -2,8 +2,8 @@
2 2
 
3 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 7
 #define LIGHT_RETURNVAL_SUCCESS   0
8 8
 
9 9
 int main(int argc, char** argv)