mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
fixed cycling
This commit is contained in:
@@ -94,7 +94,7 @@ int MonitorLoop(int argc, char **argv)
|
||||
char **child_argv= wmalloc(sizeof(char*)*(argc+2));
|
||||
int i, status;
|
||||
time_t last_start;
|
||||
|
||||
|
||||
for (i= 0; i < argc; i++)
|
||||
child_argv[i]= argv[i];
|
||||
child_argv[i++]= "--for-real";
|
||||
@@ -128,7 +128,7 @@ int MonitorLoop(int argc, char **argv)
|
||||
continue;
|
||||
|
||||
child_argv[argc]= "--for-real-";
|
||||
|
||||
|
||||
/* Check if the wmaker process exited due to a crash */
|
||||
if (WIFSIGNALED(status) &&
|
||||
(WTERMSIG(status) == SIGSEGV ||
|
||||
|
||||
Reference in New Issue
Block a user