logout seems not to return an error status, so don't up the queue with "failed: Can...
[freeside.git] / FS / FS / part_export / communigate_pro.pm
index 6da2017..ecb3780 100644 (file)
@@ -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";
 
 }