X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fshell.export;h=146a0fd4e16548e71a401e471433280ec56911c0;hp=798bee3fe338a59eb90a216c69f5c933df8b10e5;hb=7f7fb08833dd4a006adc45fe5deb9931f3aee94e;hpb=76ce9aeaeb39f496797398e84bfdc20fbd817b4d diff --git a/bin/shell.export b/bin/shell.export index 798bee3fe..146a0fd4e 100755 --- a/bin/shell.export +++ b/bin/shell.export @@ -54,6 +54,8 @@ foreach my $export ( @bsd_exports ) { grep { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) } $export->export_svc; + next unless @svc_acct; + foreach my $svc_acct ( sort { $a->uid <=> $b->uid } @svc_acct ) { my $password = $svc_acct->_password;