diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/printer/gimp.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer/gimp.pm b/perl-install/printer/gimp.pm index 91707a60e..079563ed7 100644 --- a/perl-install/printer/gimp.pm +++ b/perl-install/printer/gimp.pm @@ -284,7 +284,7 @@ sub addprinter { sub pop_spaces { my @lines = @_; - pop @lines while @lines $lines[-1] !~ /\S/; + pop @lines while @lines and $lines[-1] !~ /\S/; } sub removeentry { |