summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2019-05-08 17:05:13 +0200
committerRomain Bouvier <skunnyk@alteroot.org>2019-05-08 17:19:36 +0200
commitfd46109d056237410cad6901272c86f6d55a293c (patch)
treeaec851a54af821c1bcd52a4edf03ec4e0fb382c6 /scripts
parent5befa329c66dcf77e11a76191a43ab3630fa7d34 (diff)
downloadxfce4-session-fd46109d056237410cad6901272c86f6d55a293c.tar.gz
xflock4: Do not override PATH with hardcoded value.
- The PATH "/bin:/usr/bin" may not be a valid search path on the user's machine. The screen locking program may be in /usr/local/bin or elsewhere. Distros that do not conform to the FHS, such as GuixSD and NixOS, will not have their executables in either location. Thus, we simply leave PATH alone. - OpenBSD and FreeBSD also patch xflock4 to add their own PATH... - Fix bug #12282
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xflock43
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/xflock4 b/scripts/xflock4
index 525e6e20..7ebb423a 100644
--- a/scripts/xflock4
+++ b/scripts/xflock4
@@ -21,9 +21,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-PATH=/bin:/usr/bin
-export PATH
-
# First test for the command set in the session's xfconf channel
LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)