From: ivan Date: Thu, 16 Jan 2003 02:58:20 +0000 (+0000) Subject: don't run empty shellcommands X-Git-Tag: freeside_1_4_1beta7~9 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=f948765436a567af2ca2f5b8c7f675a49cf63ef5;p=freeside.git don't run empty shellcommands --- diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index dbd4017f8..f592a838a 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -33,6 +33,7 @@ sub _export_unsuspend { sub _export_command { my ( $self, $action, $svc_acct) = (shift, shift, shift); my $command = $self->option($action); + return '' if $command =~ /^\s*$/; my $stdin = $self->option($action."_stdin"); no strict 'vars';