From e9f9e116024b0d59d4bc18b15abcc0caa8f2805e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 4 Sep 2014 22:04:16 -0700 Subject: [PATCH] don't try to download the -d done dir, RT#29053 --- bin/aradial-sftp_and_import | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.11.0