X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Ftextradius.pm;h=74807878b59eca653867ae52e202f78113213008;hp=de0158b5080375074927290614eba27c520127be;hb=6dcf9258234427eb6cd6ad3e9912c4f1dac91ceb;hpb=b57dbad22a76abc65dc73745990dca5e8bfe9411 diff --git a/FS/FS/part_export/textradius.pm b/FS/FS/part_export/textradius.pm index de0158b50..74807878b 100644 --- a/FS/FS/part_export/textradius.pm +++ b/FS/FS/part_export/textradius.pm @@ -126,7 +126,7 @@ sub textradius_download { $rsync->exec( { src => "$user\@$host:$users", dest => $dest, - } ); + } ) or die "error downloading $user\@$host:$users : ". $rsync->err; $dest; } @@ -145,7 +145,7 @@ sub textradius_upload { $rsync->exec( { src => "$dir/users", dest => "$user\@$host:$users", - } ); + } ) or die "error uploading to $user\@$host:$users : ". $rsync->err; flock(LOCK,LOCK_UN); close LOCK;