Merge branch 'fix-nagbar-exit'

This commit is contained in:
Michael Stapelberg 2012-09-05 17:09:40 +02:00
commit 9436e6f26e

View File

@ -91,7 +91,7 @@ void exec_i3_utility(char *name, char *argv[]) {
char buffer[BUFSIZ]; char buffer[BUFSIZ];
if (readlink("/proc/self/exe", buffer, BUFSIZ) == -1) { if (readlink("/proc/self/exe", buffer, BUFSIZ) == -1) {
warn("could not read /proc/self/exe"); warn("could not read /proc/self/exe");
exit(1); _exit(1);
} }
dir = dirname(buffer); dir = dirname(buffer);
sasprintf(&migratepath, "%s/%s", dir, name); sasprintf(&migratepath, "%s/%s", dir, name);
@ -100,7 +100,7 @@ void exec_i3_utility(char *name, char *argv[]) {
#endif #endif
warn("Could not start %s", name); warn("Could not start %s", name);
exit(2); _exit(2);
} }
/* /*