aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xiurt21
1 files changed, 1 insertions, 0 deletions
diff --git a/iurt2 b/iurt2
index 2e184fd..b9a31ed 100755
--- a/iurt2
+++ b/iurt2
@@ -1372,6 +1372,7 @@ sub find_provides {
sub check_sudo_access {
open my $right, "$sudo -l |";
return 1 if ! $<;
+ local $_;
while(<$right>) {
/\(ALL\)\s+NOPASSWD:\s+ALL/ and return 1
}