Skip to content

Commit

Permalink
update inc/cpcheck.inc
Browse files Browse the repository at this point in the history
fix /etc/sudoers.d/addpaths setting
  • Loading branch information
centminmod committed Jan 21, 2016
1 parent ea635bd commit 02acb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/cpcheck.inc
Expand Up @@ -340,7 +340,7 @@ pathfixes() {
# for sudo
if [ -d /etc/sudoers.d ]; then
if [ ! -f /etc/sudoers.d/addpaths ]; then
echo "secure_path += /usr/local/bin:/usr/local/sbin" > /etc/sudoers.d/addpaths
echo "Defaults secure_path += /usr/local/bin:/usr/local/sbin" > /etc/sudoers.d/addpaths
fi
fi
}
Expand Down

0 comments on commit 02acb15

Please sign in to comment.