weston-launch: Use /bin/sh for launching weston
https://bugs.freedesktop.org/show_bug.cgi?id=68739
This commit is contained in:
+1
-1
@@ -596,7 +596,7 @@ launch_compositor(struct weston_launch *wl, int argc, char *argv[])
|
|||||||
sigaddset(&mask, SIGINT);
|
sigaddset(&mask, SIGINT);
|
||||||
sigprocmask(SIG_UNBLOCK, &mask, NULL);
|
sigprocmask(SIG_UNBLOCK, &mask, NULL);
|
||||||
|
|
||||||
child_argv[0] = wl->pw->pw_shell;
|
child_argv[0] = "/bin/sh";
|
||||||
child_argv[1] = "-l";
|
child_argv[1] = "-l";
|
||||||
child_argv[2] = "-c";
|
child_argv[2] = "-c";
|
||||||
child_argv[3] = BINDIR "/weston \"$@\"";
|
child_argv[3] = BINDIR "/weston \"$@\"";
|
||||||
|
|||||||
Reference in New Issue
Block a user