Skip to content

Commit

Permalink
mxqd: Remove pointless loop
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Feb 21, 2022
1 parent c45a22e commit 06562ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mxqd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2873,13 +2873,12 @@ int main(int argc, char *argv[])

server_close(server);

while (global_sigrestart_cnt) {
if (global_sigrestart_cnt) {
mx_log_info("-------------------------------------------------------------");
mx_log_info(" Reexecuting %s", argv[0]);
mx_log_info("-------------------------------------------------------------");
res = execvp(argv[0], argv);
mx_log_fatal("execvp(\"%s\", ...): %m", argv[0]);
break;
}

mx_log_info("cu, mx.");
Expand Down

0 comments on commit 06562ea

Please sign in to comment.