X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fforward_shellcommands.pm;h=fd1b7efc29679187d391b2b1a64e79eef3fe6f0e;hb=289e35fa98f95021ccda7830146c6c9742302f70;hp=fe304350c86a465222ffd1687b48c64e5830da25;hpb=e53cf6b04ea8c6f10c331d46372c486128478df0;p=freeside.git diff --git a/FS/FS/part_export/forward_shellcommands.pm b/FS/FS/part_export/forward_shellcommands.pm index fe304350c..fd1b7efc2 100644 --- a/FS/FS/part_export/forward_shellcommands.pm +++ b/FS/FS/part_export/forward_shellcommands.pm @@ -68,6 +68,7 @@ sub _export_delete { sub _export_command { my ( $self, $action, $svc_forward ) = (shift, shift, shift); my $command = $self->option($action); + return '' if $command =~ /^\s*$/; #set variable for the command no strict 'vars';