X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=site_perl%2Fsvc_acct.pm;h=9ae531a90fa664cfd6b203645343b7746ca37723;hb=1e3eae905b861761f93643aa5fce14a8be5d9ed2;hp=1ba92aec1854769eaafca7fab4c8b77154f78050;hpb=963a290ad2d9a89b45b66ac9d9ccdd612a756f11;p=freeside.git diff --git a/site_perl/svc_acct.pm b/site_perl/svc_acct.pm index 1ba92aec1..9ae531a90 100644 --- a/site_perl/svc_acct.pm +++ b/site_perl/svc_acct.pm @@ -7,6 +7,8 @@ use FS::Conf; use FS::Record qw( qsearchs fields ); use FS::svc_Common; use FS::SSH qw(ssh); +use FS::part_svc; +use FS::svc_acct_pop; @ISA = qw( FS::svc_Common ); @@ -376,7 +378,8 @@ sub check { if ( $shell = (grep $_ eq $recref->{shell}, @shells)[0] ) { $recref->{shell} = $shell; } else { - return "Illegal shell ". $self->shell; + return "Illegal shell \`". $self->shell. "\'; ". + $conf->dir. "/shells contains: @shells"; } } else { $recref->{shell} = '/bin/sync'; @@ -443,7 +446,7 @@ sub check { =head1 VERSION -$Id: svc_acct.pm,v 1.6 1999-01-25 12:26:15 ivan Exp $ +$Id: svc_acct.pm,v 1.8 1999-07-29 08:47:26 ivan Exp $ =head1 BUGS @@ -485,7 +488,13 @@ arbitrary radius attributes ivan@sisd.com 98-aug-13 pod and FS::conf ivan@sisd.com 98-sep-22 $Log: svc_acct.pm,v $ -Revision 1.6 1999-01-25 12:26:15 ivan +Revision 1.8 1999-07-29 08:47:26 ivan +more informative illegal shells error. + +Revision 1.7 1999/04/07 14:37:37 ivan +use FS::part_svc and FS::svc_acct_pop to avoid warnings + +Revision 1.6 1999/01/25 12:26:15 ivan yet more mod_perl stuff Revision 1.5 1999/01/18 21:58:09 ivan