Added a small comment hashtagdocumentation

This commit is contained in:
buffet 2018-11-08 22:59:10 +01:00
parent bdfbf4bebe
commit 3995cc8efe

View file

@ -69,7 +69,7 @@ handle_ipc_event(FILE *client, char *msg)
char *command = strtok(NULL, ""); char *command = strtok(NULL, "");
fclose(client); fclose(client);
execl("/bin/sh", "/bin/sh", "-c", command, NULL); execl("/bin/sh", "/bin/sh", "-c", command, NULL);
g_is_about_to_quit = true; g_is_about_to_quit = true; // in case the exec failed
} else { } else {
warn("ignoring unknown command: %s\n", command); warn("ignoring unknown command: %s\n", command);
} }