summaryrefslogtreecommitdiff
path: root/src/launch.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2017-03-12 13:11:40 -0700
committerVito Caputo <vcaputo@gnugeneration.com>2017-03-14 19:41:48 -0700
commitbc04055653fe64c4e8e109beedf96dd608007a3b (patch)
treeaaf60b45a56f9d5765f6dcf6afa89bd62b9d46e2 /src/launch.c
parent2373a54d2d52961a841dace71b505d2c20f5c040 (diff)
*: trivial code formatting cleanups
I'm no longer fond of combining one-line conditional statements on the same line as their conditional expression.
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