diff options
author | Steve Langasek <vorlon@debian.org> | 2008-08-21 15:26:19 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 17:28:27 -0800 |
commit | 443c526cb3fb9971e1a920477f5f9184c36e62df (patch) | |
tree | ecb7ea0f33af86d8896706c0891a4ebdb55500df /debian | |
parent | caaa81975b4128a4f0871886bdafaeecaf01b128 (diff) |
apparently we need to use shift @ARGV here, not just shift
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/local/pam-auth-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index 8b4a4f96..c830736d 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -65,7 +65,7 @@ while ($#ARGV >= 0) { } elsif ($opt eq '--remove') { while ($#ARGV >= 0) { last if ($ARGV[0] =~ /^--/); - $removals{shift} = 1; + $removals{shift @ARGV} = 1; } # --remove implies --package $priority = 'medium' if (keys(%removals)); |