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