Explorar el Código

Fix return codes for main()

Fredrik Haikarainen hace 10 años
padre
commit
7ee922c192
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/main.c

+ 2
- 2
src/main.c Ver fichero

@@ -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)