mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
misc-progs: Set a reasonable default PATH variable
We have some scripts in /usr/local/bin which cannot be found by any misc-progs which is fixed by this patch. Fixes: #12811 Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
f1269489e8
commit
136d91f346
@@ -46,7 +46,7 @@
|
||||
|
||||
/* Trusted environment for executing commands */
|
||||
char * trusted_env[4] = {
|
||||
"PATH=/usr/bin:/usr/sbin:/sbin:/bin",
|
||||
"PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin",
|
||||
"SHELL=/bin/sh",
|
||||
"TERM=dumb",
|
||||
NULL
|
||||
|
||||
Reference in New Issue
Block a user