From: Ivan Kohler Date: Wed, 8 May 2013 01:29:13 +0000 (-0700) Subject: add -s flag to skip CDR files that error out, RT#20763 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=57a9a48d9a56255a3a05821c0090acac6c1f0336 add -s flag to skip CDR files that error out, RT#20763 --- diff --git a/FS/bin/freeside-cdr-sftp_and_import b/FS/bin/freeside-cdr-sftp_and_import index 722bf733e..a7452e87f 100755 --- a/FS/bin/freeside-cdr-sftp_and_import +++ b/FS/bin/freeside-cdr-sftp_and_import @@ -120,7 +120,7 @@ foreach my $filename ( @$ls ) { if ( $error ) { if ( $opt_s ) { - warn "$ungzipped: $error\n"; + warn "$ungziped: $error\n"; } else { unlink "$cachedir/$filename"; unlink "$cachedir/$ungziped" if $opt_g;