don't try to run blank commands for non-svc_acct shellcommand exports too
[freeside.git] / FS / FS / part_export / domain_shellcommands.pm
index 0ba5617..d15f41a 100644 (file)
@@ -70,6 +70,7 @@ sub _export_delete {
 sub _export_command {
   my ( $self, $action, $svc_domain) = (shift, shift, shift);
   my $command = $self->option($action);
+  return '' if $command =~ /^\s*$/;
 
   #set variable for the command
   no strict 'vars';