summaryrefslogtreecommitdiff
path: root/src/launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/launch.c')
-rw-r--r--src/launch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/launch.c b/src/launch.c
index 123e850..ed4064b 100644
--- a/src/launch.c
+++ b/src/launch.c
@@ -39,7 +39,8 @@ void vwm_launch(vwm_t *vwm, char **argv, vwm_launch_mode_t mode)
setpriority(PRIO_PROCESS, getpid(), vwm->priority + LAUNCHED_RELATIVE_PRIORITY);
execvp(argv[0], argv);
}
- if (mode == VWM_LAUNCH_MODE_BG) exit(0);
+ if (mode == VWM_LAUNCH_MODE_BG)
+ exit(0);
}
wait(NULL); /* TODO: could wait for the specific pid, particularly in FG mode ... */
}
© All Rights Reserved