X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Fshell.export;h=146a0fd4e16548e71a401e471433280ec56911c0;hb=5bfc7cd4f5aac2905119ba076a23df1f13b58f7b;hp=798bee3fe338a59eb90a216c69f5c933df8b10e5;hpb=76ce9aeaeb39f496797398e84bfdc20fbd817b4d;p=freeside.git 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;