diff options
author | Guillem Jover <guillem@debian.org> | 2013-01-03 00:56:15 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-05-08 04:58:07 +0200 |
commit | e40e07a583f8738e0610c4aebb832091f48e9588 (patch) | |
tree | 2b97e912f276b786a3dd8a82c5bff91f5696e89f /dselect/methods | |
parent | 6e2750d65d278b641b638251ef607f607a59e4c6 (diff) | |
download | dpkg-e40e07a583f8738e0610c4aebb832091f48e9588.tar.gz |
perl: Use correct comparison operator for each type
Fixes ValuesAndExpressions::ProhibitMismatchedOperators.
Warned-by: perlcritic
Diffstat (limited to 'dselect/methods')
-rwxr-xr-x | dselect/methods/ftp/update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dselect/methods/ftp/update b/dselect/methods/ftp/update index 048044b3f..46bbdd872 100755 --- a/dselect/methods/ftp/update +++ b/dselect/methods/ftp/update @@ -39,7 +39,7 @@ if ($option eq 'manual') { print 'Enter package file name:'; my $fn = <STDIN>; chomp $fn; - if ($fn == '') { + if ($fn eq '') { exit 0; } if ( -f $fn ) { |