weston-launch: Use /bin/sh for launching weston
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 21 Oct 2013 22:14:44 +0000 (15:14 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 21 Oct 2013 22:14:44 +0000 (15:14 -0700)
https://bugs.freedesktop.org/show_bug.cgi?id=68739

src/weston-launch.c

index e5301c7..8118d03 100644 (file)
@@ -596,7 +596,7 @@ launch_compositor(struct weston_launch *wl, int argc, char *argv[])
        sigaddset(&mask, SIGINT);
        sigprocmask(SIG_UNBLOCK, &mask, NULL);
 
-       child_argv[0] = wl->pw->pw_shell;
+       child_argv[0] = "/bin/sh";
        child_argv[1] = "-l";
        child_argv[2] = "-c";
        child_argv[3] = BINDIR "/weston \"$@\"";