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