On 23/01/2020 13:58, [email protected] wrote:
+static int
+instance_exit_code(int ret){
+       if(WIFEXITED(ret))
+       {
+               return WEXITSTATUS(ret);
+       }
+       else if (WIFSIGNALED(ret))
+       {
+               return 128 + WTERMSIG(ret);
+       }
+       return 1;
+}
+

please make the orthographic syntax consistent with the rest of the code.
        John

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

Reply via email to