added /bin and /sbin in the default PATH

This commit is contained in:
cylgom 2018-10-07 12:07:53 +02:00
parent dde8de60bd
commit 5e7437b8e9
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@
#x_cmd_setup=/etc/ly/xsetup.sh
#mcookie_cmd=/usr/bin/mcookie
#xauthority=.lyxauth
#path=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/env
#path=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/env
# shutdown is given parameters, do not use an alternative
# this is here only to allow you to change its location

View File

@ -529,7 +529,7 @@ void config_config_patch()
}
if (config.path == 0)
{
config.path = strdup("/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/env");
config.path = strdup("/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/env");
}
if (config.shutdown_cmd == 0)
{