projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add -s flag to skip CDR files that error out, RT#20763
[freeside.git]
/
FS
/
bin
/
freeside-cdr-sftp_and_import
diff --git
a/FS/bin/freeside-cdr-sftp_and_import
b/FS/bin/freeside-cdr-sftp_and_import
index
722bf73
..
a7452e8
100755
(executable)
--- 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 ) {
if ( $error ) {
if ( $opt_s ) {
- warn "$ungzip
p
ed: $error\n";
+ warn "$ungziped: $error\n";
} else {
unlink "$cachedir/$filename";
unlink "$cachedir/$ungziped" if $opt_g;
} else {
unlink "$cachedir/$filename";
unlink "$cachedir/$ungziped" if $opt_g;