1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 21:38:00 +01:00

fixed cycling

This commit is contained in:
kojima
2004-10-14 21:24:21 +00:00
parent 2e572717c5
commit 884a3f1647
5 changed files with 140 additions and 126 deletions

View File

@@ -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 ||