From: ivan Date: Fri, 11 May 2007 19:03:33 +0000 (+0000) Subject: logout seems not to return an error status, so don't up the queue with "failed: Can... X-Git-Tag: freeside_1_7_3rc1~445 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=61f09c650da6381ae366ce3cff47721593771e7d;p=freeside.git 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"; }