summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-10-20 07:26:56 +0000
committerivan <ivan>2002-10-20 07:26:56 +0000
commit91731e80d787ecc4c9183a4556504b1cf4a1bf0f (patch)
tree34ea98fecccb746e6fb57c8509693ba6f49414c6
parenta3a99cf5aa8e62dd6441b0823b8a3ec6191dc296 (diff)
don't run restart command unless there is one
-rw-r--r--FS/FS/part_export/vpopmail.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/vpopmail.pm b/FS/FS/part_export/vpopmail.pm
index bddf175ee..646af44cd 100644
--- a/FS/FS/part_export/vpopmail.pm
+++ b/FS/FS/part_export/vpopmail.pm
@@ -220,7 +220,7 @@ sub vpopmail_sync {
eval "use Net::SSH;";
die $@ if $@;
- ssh("vpopmail\@$machine", $restart);
+ ssh("vpopmail\@$machine", $restart) if $restart;
}