mirror of https://github.com/fairyglade/ly.git
added /bin and /sbin in the default PATH
This commit is contained in:
parent
dde8de60bd
commit
5e7437b8e9
|
|
@ -36,7 +36,7 @@
|
||||||
#x_cmd_setup=/etc/ly/xsetup.sh
|
#x_cmd_setup=/etc/ly/xsetup.sh
|
||||||
#mcookie_cmd=/usr/bin/mcookie
|
#mcookie_cmd=/usr/bin/mcookie
|
||||||
#xauthority=.lyxauth
|
#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
|
# shutdown is given parameters, do not use an alternative
|
||||||
# this is here only to allow you to change its location
|
# this is here only to allow you to change its location
|
||||||
|
|
|
||||||
|
|
@ -529,7 +529,7 @@ void config_config_patch()
|
||||||
}
|
}
|
||||||
if (config.path == 0)
|
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)
|
if (config.shutdown_cmd == 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue