don't run restart command unless there is one
authorivan <ivan>
Sun, 20 Oct 2002 07:26:54 +0000 (07:26 +0000)
committerivan <ivan>
Sun, 20 Oct 2002 07:26:54 +0000 (07:26 +0000)
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;
 }