diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-09-04 22:04:18 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-09-04 22:04:18 -0700 |
commit | 7f5fae23796039cfca017e26d3a9fed28256aed4 (patch) | |
tree | 7c00bb74c5a2ddb7b0389ea2fd6721d9fdde0d46 /bin | |
parent | 4937c72b80c662966ecfabba7f99141e4ca9b095 (diff) |
don't try to download the -d done dir, RT#29053
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/aradial-sftp_and_import | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/aradial-sftp_and_import b/bin/aradial-sftp_and_import index b0878e277..778ee2301 100755 --- a/bin/aradial-sftp_and_import +++ b/bin/aradial-sftp_and_import @@ -127,6 +127,8 @@ else { foreach my $filename ( @$ls ) { + next if $opt_d && $filename eq $opt_d; + warn "Downloading $filename\n" if $opt_v; #get the file |