On 23/01/2020 13:58, ondrej.vot...@cvut.cz 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
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to