From: ivan Date: Sun, 20 Oct 2002 07:26:56 +0000 (+0000) Subject: don't run restart command unless there is one X-Git-Tag: freeside_1_4_1beta5~29 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=91731e80d787ecc4c9183a4556504b1cf4a1bf0f;p=freeside.git don't run restart command unless there is one --- 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; }