summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-08-21 15:26:19 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:27 -0800
commit443c526cb3fb9971e1a920477f5f9184c36e62df (patch)
treeecb7ea0f33af86d8896706c0891a4ebdb55500df /debian
parentcaaa81975b4128a4f0871886bdafaeecaf01b128 (diff)
apparently we need to use shift @ARGV here, not just shift
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/local/pam-auth-update2
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));