From patchwork Fri Jun 14 03:16:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hangbin Liu X-Patchwork-Id: 10994151 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B9EF214C0 for ; Fri, 14 Jun 2019 03:16:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF12627BA5 for ; Fri, 14 Jun 2019 03:16:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3A0527D16; Fri, 14 Jun 2019 03:16:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from bastion.fedoraproject.org (bastion01.fedoraproject.org [209.132.181.2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4556A27BA5 for ; Fri, 14 Jun 2019 03:16:58 +0000 (UTC) Received: from mailman01.phx2.fedoraproject.org (mailman01.phx2.fedoraproject.org [10.5.126.36]) by bastion01.phx2.fedoraproject.org (Postfix) with ESMTP id 460D962601D0; Fri, 14 Jun 2019 03:16:57 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 bastion01.phx2.fedoraproject.org 460D962601D0 Received: from mailman01.phx2.fedoraproject.org (localhost [IPv6:::1]) by mailman01.phx2.fedoraproject.org (Postfix) with ESMTP id 3BCB4580402A1; Fri, 14 Jun 2019 03:16:57 +0000 (UTC) Received: by mailman01.phx2.fedoraproject.org (Postfix, from userid 991) id 08F515803F8BA; Fri, 14 Jun 2019 03:16:54 +0000 (UTC) Received: from smtp-mm-ib01.fedoraproject.org (smtp-mm-ib01.vpn.fedoraproject.org [192.168.1.83]) by mailman01.phx2.fedoraproject.org (Postfix) with ESMTP id 9808A5803F8BA for ; Fri, 14 Jun 2019 03:16:53 +0000 (UTC) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by smtp-mm-ib01.fedoraproject.org (Postfix) with ESMTPS id 2A61F605D2E6 for ; Fri, 14 Jun 2019 03:16:53 +0000 (UTC) Received: by mail-pl1-f171.google.com with SMTP id p1so385676plo.2 for ; Thu, 13 Jun 2019 20:16:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LLhoDYbqk1v1JdQm7B9UyECLJFCQNvV2f7Dn2QohRkM=; b=iukFwRIF8cjNMfaPqMU6yDTAKPaYR4IfTFEJsotSKLFb4UWkXDTZBuG+K23YOb3fIQ SlocEFGwH5sESEiaRQzTk06NThwRN9LWhZoWGERttFOLTiUoQc15R9UGZviu15OKwH7s Am5ytkm8yntMznhKK3iClNQ7ecawjmdAhIO3EVSmaBgva3UosKfg2FaCxYyVVQ5MtgPo ypYabfr8Uv03+I7TZg+TACXWZFKl5QZqC9pxWyKcx3XHPFsTgVzJg+Og5hv7d5imxzsG H+W8Tv5jioKslnpXbyo9J5OpEXDOBCnWcpR197+eECbqQKPpiIAHc3lg9VLdK8Hzkyov uoPw== X-Gm-Message-State: APjAAAUIzOogHmrbuG+SWJ1i4RqpD9YEDzWd+1zpAR+9pr3EX/X5omFd f57fXrq1W+PdzolWQBDxNUXe++0T4jgSzQ== X-Google-Smtp-Source: APXvYqzMQEN7KMn/eaE88fsj4/sqsoUbOWG1Oe1/7h1Xx+iLRfhCSPiIpgN+BB2cfjREFKcpZaHU1w== X-Received: by 2002:a17:902:824:: with SMTP id 33mr93673337plk.29.1560482211867; Thu, 13 Jun 2019 20:16:51 -0700 (PDT) Received: from dhcp-12-139.nay.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id a21sm1049313pfc.108.2019.06.13.20.16.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 13 Jun 2019 20:16:51 -0700 (PDT) From: Hangbin Liu To: libteam@lists.fedorahosted.org Subject: [patch libteam] initscripts: fix if/fi align Date: Fri, 14 Jun 2019 11:16:32 +0800 Message-Id: <20190614031632.3254-1-liuhangbin@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Message-ID-Hash: WOZGLOF7RRV7P42LBYPYKB57BKNC43WV X-Message-ID-Hash: WOZGLOF7RRV7P42LBYPYKB57BKNC43WV X-MailFrom: liuhangbin@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Jiri Pirko , Hangbin Liu X-Mailman-Version: 3.1.1 Precedence: list List-Id: Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Hangbin Liu --- teamd/redhat/initscripts/network-scripts/ifup-Team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teamd/redhat/initscripts/network-scripts/ifup-Team b/teamd/redhat/initscripts/network-scripts/ifup-Team index a245dac..1e38b8f 100755 --- a/teamd/redhat/initscripts/network-scripts/ifup-Team +++ b/teamd/redhat/initscripts/network-scripts/ifup-Team @@ -36,7 +36,7 @@ if [ -n "${TEAM_CONFIG}" ]; then if [ ! -x /usr/bin/teamd ]; then net_log $"Team support not available: teamd not found" exit 1 - fi + fi /usr/bin/teamd ${TEAMD_CMDLINE} -d -D -t ${DEVICE} -c "${TEAM_CONFIG}" -p /var/run/teamd-${DEVICE}.pid || exit 1 # Bring up all existing port devices now for device in $(LANG=C egrep -l "^[[:space:]]*TEAM_MASTER=\"?${DEVICE}\"?" /etc/sysconfig/network-scripts/ifcfg-*) ; do