diff options
Diffstat (limited to 'dselect/methods')
-rw-r--r-- | dselect/methods/Debian/Dselect/Ftp.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dselect/methods/Debian/Dselect/Ftp.pm b/dselect/methods/Debian/Dselect/Ftp.pm index 37fe896f7..f750b42ab 100644 --- a/dselect/methods/Debian/Dselect/Ftp.pm +++ b/dselect/methods/Debian/Dselect/Ftp.pm @@ -311,7 +311,7 @@ sub do_mdtm { ) { $has_mdtm = 0; } elsif (!$ftp->ok()) { - return undef; + return; } #} @@ -320,7 +320,7 @@ sub do_mdtm { my @files = $ftp->dir($file); if (($#files == -1) || ($ftp->code == 550)) { # No such file or directory - return undef; + return; } # my $code=$ftp->code(); my $message=$ftp->message(); |