Commit bcfd18fd authored by Leigh B Stoller's avatar Leigh B Stoller

Change the PATH to include sbin directories.

parent a8257b4e
......@@ -58,7 +58,7 @@ sub Fatal($);
sub CheckForReboot();
# un-taint path
$ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin:/usr/site/bin';
$ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/site/bin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment