From: ivan Date: Mon, 3 Jul 2000 09:13:10 +0000 (+0000) Subject: get rid of double sendmailrestart invocation; no need for multiple sessions X-Git-Tag: freeside_1_3_0~98 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=3b998c1d6a308992f368d32c5dd5c901f262fed8;p=freeside.git get rid of double sendmailrestart invocation; no need for multiple sessions --- diff --git a/bin/svc_acct_sm.export b/bin/svc_acct_sm.export index 2627496c3..56c6115a6 100755 --- a/bin/svc_acct_sm.export +++ b/bin/svc_acct_sm.export @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: svc_acct_sm.export,v 1.6 2000-07-03 09:09:14 ivan Exp $ +# $Id: svc_acct_sm.export,v 1.7 2000-07-03 09:13:10 ivan Exp $ # # Create and export config files for sendmail, qmail # @@ -42,7 +42,10 @@ # /var/spool/freeside/conf and sendmail updates ivan@sisd.com 98-aug-14 # # $Log: svc_acct_sm.export,v $ -# Revision 1.6 2000-07-03 09:09:14 ivan +# Revision 1.7 2000-07-03 09:13:10 ivan +# get rid of double sendmailrestart invocation; no need for multiple sessions +# +# Revision 1.6 2000/07/03 09:09:14 ivan # typo # # Revision 1.5 2000/07/03 09:03:14 ivan @@ -207,10 +210,6 @@ foreach $sendmailmachine (@sendmailmachines) { " )" ) == 0 or die "ssh error: $!"; - if ( $conf->config('sendmailrestart') ) { - ssh("root\@$sendmailmachine", $conf->config('sendmailrestart') ) - == 0 or die "ssh error: $!"; - } } my($qmailmachine);