Merge pull request #3961 from ammgws/patch-1
i3-nagbar: Use _PATH_BSHELL
This commit is contained in:
commit
daa2ea0d05
|
@ -353,7 +353,7 @@ int main(int argc, char *argv[]) {
|
||||||
unlink(argv[0]);
|
unlink(argv[0]);
|
||||||
cmd = sstrdup(argv[0]);
|
cmd = sstrdup(argv[0]);
|
||||||
*(cmd + argv0_len - strlen(".nagbar_cmd")) = '\0';
|
*(cmd + argv0_len - strlen(".nagbar_cmd")) = '\0';
|
||||||
execl("/bin/sh", "/bin/sh", cmd, NULL);
|
execl(_PATH_BSHELL, _PATH_BSHELL, cmd, NULL);
|
||||||
err(EXIT_FAILURE, "execv(/bin/sh, /bin/sh, %s)", cmd);
|
err(EXIT_FAILURE, "execv(/bin/sh, /bin/sh, %s)", cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue