diff options
| author | Mark Wells <mark@freeside.biz> | 2012-03-05 11:14:36 -0800 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-03-05 11:14:43 -0800 |
| commit | ab9a9ed2fc6fd48328b7ac8575aa33d8d5c22e89 (patch) | |
| tree | 9e14d6c40020c0ed2240eacb2316d9ba0a85e389 | |
| parent | 8c45cfb8fd6ad6216ce18f0ab69c9e4f48ee0a8c (diff) | |
make svc_broadband upgrade errors non-fatal
| -rwxr-xr-x | FS/FS/svc_broadband.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm index 18086016b..4787cfe90 100755 --- a/FS/FS/svc_broadband.pm +++ b/FS/FS/svc_broadband.pm @@ -601,7 +601,7 @@ sub _upgrade_data { # (other than setting blocknum to null for a non-auto-assigned router) if ( $self->ip_addr ne $ip_addr or ($self->blocknum and $self->blocknum != $addr_block->blocknum)) { - die "Upgrading service ".$self->svcnum." would change its block/address.\n\nCheck your router and address block configuration.\n"; + warn "WARNING: Upgrading service ".$self->svcnum." would change its block/address; skipped.\n"; next; } |
