From: Ivan Kohler Date: Fri, 5 Sep 2014 05:04:16 +0000 (-0700) Subject: don't try to download the -d done dir, RT#29053 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=e9f9e116024b0d59d4bc18b15abcc0caa8f2805e don't try to download the -d done dir, RT#29053 --- 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