diff options
-rw-r--r-- | FS/FS/part_export/textradius.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/FS/FS/part_export/textradius.pm b/FS/FS/part_export/textradius.pm index c96bcfc48..450a0e57b 100644 --- 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 : ". - join(" / ", $rsync->err); + 'exit status: '. $rsync->status. ', '. + 'STDERR: '. join(" / ", $rsync->err). ', '. + 'STDOUT: '. join(" / ", $rsync->out); $dest; } @@ -147,7 +149,9 @@ sub textradius_upload { 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; |