From: ivan Date: Fri, 11 May 2007 19:03:32 +0000 (+0000) Subject: logout seems not to return an error status, so don't up the queue with "failed: Can... X-Git-Tag: TRIXBOX_2_6~513 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a1e4aa786071d585f873b9aa3531dd605d7bc57b logout seems not to return an error status, so don't up the queue with "failed: Can't logout of CGPro: No error" --- diff --git a/FS/FS/part_export/communigate_pro.pm b/FS/FS/part_export/communigate_pro.pm index 6da201799..ecb378090 100644 --- a/FS/FS/part_export/communigate_pro.pm +++ b/FS/FS/part_export/communigate_pro.pm @@ -170,7 +170,7 @@ sub communigate_pro_command { #subroutine, not method $cli->$method(@args) or die "CGPro error: ". $cli->getErrMessage; - $cli->Logout or die "Can't logout of CGPro: $CGP::ERR_STRING\n"; + $cli->Logout; # or die "Can't logout of CGPro: $CGP::ERR_STRING\n"; }