On 23/01/2020 14:15, [email protected] wrote:
+static int
+instance_exit_code(int ret)
+{
+       if(WIFEXITED(ret)) {
          ^ missing space
+               return WEXITSTATUS(ret);
+       }
        no new line here
+       else if (WIFSIGNALED(ret)) {
+               return 128 + WTERMSIG(ret);
        is there a define for 128 ?
+       }
+       return 1;
+}
+

        John

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to