projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bfa1e8
)
Fix AIX deletion
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 10 Jul 2008 09:16:56 +0000
(09:16 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 10 Jul 2008 09:16:56 +0000
(09:16 +0000)
lpadmin/aix-lib.pl
patch
|
blob
|
history
diff --git
a/lpadmin/aix-lib.pl
b/lpadmin/aix-lib.pl
index
931b017
..
0aa2f48
100644
(file)
--- a/
lpadmin/aix-lib.pl
+++ b/
lpadmin/aix-lib.pl
@@
-211,7
+211,7
@@
sub delete_printer
{
# Find old entry
local @qc = &get_qconfig();
-local ($real) = grep { $_->{'name'} eq $_[0]
->{'name'}
} @qc;
+local ($real) = grep { $_->{'name'} eq $_[0] } @qc;
local ($device) = grep { $_->{'name'} eq $real->{'values'}->{'device'} &&
$_->{'line'} > $real->{'line'} } @qc;