From: ivan Date: Thu, 9 Feb 2012 10:46:33 +0000 (+0000) Subject: spam settings, RT#15987 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=032921734aad82c83481d9098aa38361d3980e98 spam settings, RT#15987 --- diff --git a/FS/FS/part_export/status_shellcommands.pm b/FS/FS/part_export/status_shellcommands.pm index 6b189097b..3f6bd9580 100644 --- a/FS/FS/part_export/status_shellcommands.pm +++ b/FS/FS/part_export/status_shellcommands.pm @@ -51,19 +51,18 @@ sub export_setstatus { $self->shellcommands_queue( @shallargs, 'command' => $self->option('spam_enable'). ' '. shell_quote($svc_acct->email) - ); - - $self->shellcommands_queue( @shallargs, 'command' => - $self->option('spam_tag2_level'). ' '. - shell_quote($svc_acct->email). ' '. - $hashref->{'spam_tag2_level'} - ); - - $self->shellcommands_queue( @shallargs, 'command' => - $self->option('spam_kill_level'). ' '. - shell_quote($svc_acct->email). ' '. - $hashref->{'spam_kill_level'} - ); + ) + || $self->shellcommands_queue( @shallargs, 'command' => + $self->option('spam_tag2_level'). ' '. + shell_quote($svc_acct->email). ' '. + $hashref->{'spam_tag2_level'} + ) + || $self->shellcommands_queue( @shallargs, 'command' => + $self->option('spam_kill_level'). ' '. + shell_quote($svc_acct->email). ' '. + $hashref->{'spam_kill_level'} + ) + ; }