summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-09-04 22:04:18 -0700
committerIvan Kohler <ivan@freeside.biz>2014-09-04 22:04:18 -0700
commit7f5fae23796039cfca017e26d3a9fed28256aed4 (patch)
tree7c00bb74c5a2ddb7b0389ea2fd6721d9fdde0d46 /bin
parent4937c72b80c662966ecfabba7f99141e4ca9b095 (diff)
don't try to download the -d done dir, RT#29053
Diffstat (limited to 'bin')
-rwxr-xr-xbin/aradial-sftp_and_import2
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