From 2e6a4e779211362d95f94f6a53803596a5e3da03 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 28 Nov 2006 22:55:36 +0000 Subject: don't destroy $_ in callers --- iurt2 | 1 + 1 file changed, 1 insertion(+) 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 } -- cgit v1.2.1