summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/aradial-sftp_and_import2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/aradial-sftp_and_import b/bin/aradial-sftp_and_import
index 13067123f..923c674ba 100755
--- a/bin/aradial-sftp_and_import
+++ b/bin/aradial-sftp_and_import
@@ -85,7 +85,7 @@ elsif($opt_m eq 'sftp') {
$ls_sftp->setcwd($opt_r) or die "can't chdir to $opt_r\n"
if $opt_r;
- $ls = $ls_sftp->ls('.', wanted => qr/^$.*\.$/i,
+ $ls = $ls_sftp->ls('.', no_wanted => qr/^\.+$/,
names_only => 1 );
}
else {