From: Tony Crisci Date: Sun, 21 Dec 2014 00:17:14 +0000 (-0500) Subject: Fix start_application() doc about which shell is used X-Git-Tag: 4.9~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=69dd8ce3984063fbc8bf5f8884690a16748be9f6;p=i3%2Fi3 Fix start_application() doc about which shell is used Since this commit: f691a55923850a4d315450925fc98733d07b69c9 the shell that is used is the system's bourne shell (/bin/sh) and the env variable SHELL is not considered. No logic changes. --- diff --git a/include/startup.h b/include/startup.h index 9cbdf17b..2f28baa7 100644 --- a/include/startup.h +++ b/include/startup.h @@ -21,8 +21,8 @@ * (immediately), the application is reparented to init (process-id 1), which * correctly handles childs, so we don’t have to do it :-). * - * The shell is determined by looking for the SHELL environment variable. If - * it does not exist, /bin/sh is used. + * The shell used to start applications is the system's bourne shell (i.e., + * /bin/sh). * * The no_startup_id flag determines whether a startup notification context * (and ID) should be created, which is the default and encouraged behavior. diff --git a/src/startup.c b/src/startup.c index d6fe6d40..ebe8c1d9 100644 --- a/src/startup.c +++ b/src/startup.c @@ -123,8 +123,8 @@ void startup_sequence_delete(struct Startup_Sequence *sequence) { * the application is reparented to init (process-id 1), which correctly handles * childs, so we don’t have to do it :-). * - * The shell is determined by looking for the SHELL environment variable. If it - * does not exist, /bin/sh is used. + * The shell used to start applications is the system's bourne shell (i.e., + * /bin/sh). * * The no_startup_id flag determines whether a startup notification context * (and ID) should be created, which is the default and encouraged behavior.