don't run restart command unless there is one
[freeside.git] / FS / FS / part_export / vpopmail.pm
index bddf175..646af44 100644 (file)
@@ -220,7 +220,7 @@ sub vpopmail_sync {
   eval "use Net::SSH;";
   die $@ if $@;
 
-  ssh("vpopmail\@$machine", $restart);
+  ssh("vpopmail\@$machine", $restart) if $restart;
 }