diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-09-04 22:04:16 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-09-04 22:04:16 -0700 |
commit | e9f9e116024b0d59d4bc18b15abcc0caa8f2805e (patch) | |
tree | 5f5d12b9e999a2a4888abcc3ff5a1ca1f521102e /bin/aradial-sftp_and_import | |
parent | c9b7e9bd253b26a35e9821a877d0ae5d30105d38 (diff) |
don't try to download the -d done dir, RT#29053
Diffstat (limited to 'bin/aradial-sftp_and_import')
-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 |