From 34852a680e9cbc0053683b93041240b7e98e2752 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 19 Apr 2002 23:35:02 +0000 Subject: [PATCH] compare balance numerically to avoid spurious suspensions --- fs_signup/fs_signup_server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs_signup/fs_signup_server b/fs_signup/fs_signup_server index 38ad5583f..089cfdeb9 100755 --- a/fs_signup/fs_signup_server +++ b/fs_signup/fs_signup_server @@ -196,7 +196,7 @@ while (1) { warn "[fs_signup_server] error collecting from new customer: $bill_error" if $bill_error; - if ( $cust_main->balance ) { + if ( $cust_main->balance > 0 ) { #should check list for errors... $cust_main->suspend; } -- 2.11.0