diff options
-rwxr-xr-x | bin/shell.export | 2 |
1 files changed, 2 insertions, 0 deletions
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; |