Skip to content

Commit

Permalink
Merge pull request #195 from superpenguin612/patch-1
Browse files Browse the repository at this point in the history
Remove unnecessary $PATH variable from suid script
  • Loading branch information
konstruktoid authored Nov 17, 2022
2 parents d330b8e + adcc102 commit 57cff83
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/suid
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
function f_suid {
echo "[$SCRIPT_COUNT] Remove suid bits"

local PATH
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"


if ! [ -f ./misc/suid.list ]; then
echo "The list with SUID binaries can't be found."
else
Expand Down

0 comments on commit 57cff83

Please sign in to comment.