projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better diagnostics
[freeside.git]
/
FS
/
FS
/
part_export
/
textradius.pm
diff --git
a/FS/FS/part_export/textradius.pm
b/FS/FS/part_export/textradius.pm
index
c96bcfc
..
450a0e5
100644
(file)
--- a/
FS/FS/part_export/textradius.pm
+++ b/
FS/FS/part_export/textradius.pm
@@
-127,7
+127,9
@@
sub textradius_download {
src => "$user\@$host:$users",
dest => $dest,
} ) or die "error downloading $user\@$host:$users : ".
src => "$user\@$host:$users",
dest => $dest,
} ) or die "error downloading $user\@$host:$users : ".
- join(" / ", $rsync->err);
+ 'exit status: '. $rsync->status. ', '.
+ 'STDERR: '. join(" / ", $rsync->err). ', '.
+ 'STDOUT: '. join(" / ", $rsync->out);
$dest;
}
$dest;
}
@@
-147,7
+149,9
@@
sub textradius_upload {
src => "$dir/users",
dest => "$user\@$host:$users",
} ) or die "error uploading to $user\@$host:$users : ".
src => "$dir/users",
dest => "$user\@$host:$users",
} ) or die "error uploading to $user\@$host:$users : ".
- join(" / ", $rsync->err);
+ 'exit status: '. $rsync->status. ', '.
+ 'STDERR: '. join(" / ", $rsync->err). ', '.
+ 'STDOUT: '. join(" / ", $rsync->out);
flock(LOCK,LOCK_UN);
close LOCK;
flock(LOCK,LOCK_UN);
close LOCK;