From 251030ed112d091a77a71299043cf46d88914bc5 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 11 Aug 2001 05:51:24 +0000 Subject: [PATCH] better error msg --- FS/FS/part_svc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/FS/part_svc.pm b/FS/FS/part_svc.pm index 01487b75f..ccf0413b3 100644 --- a/FS/FS/part_svc.pm +++ b/FS/FS/part_svc.pm @@ -84,7 +84,7 @@ returns the error, otherwise returns false. sub replace { my ( $new, $old ) = ( shift, shift ); - return "Can't change svcdb!" + return "Can't change svcdb for an existing service definition!" unless $old->svcdb eq $new->svcdb; $new->SUPER::replace( $old ); @@ -144,7 +144,7 @@ sub check { =head1 VERSION -$Id: part_svc.pm,v 1.1 1999-08-04 09:03:53 ivan Exp $ +$Id: part_svc.pm,v 1.2 2001-08-11 05:51:24 ivan Exp $ =head1 BUGS -- 2.20.1