From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 516C1158099 for ; Tue, 21 Nov 2023 09:27:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BC442BC032; Tue, 21 Nov 2023 09:27:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 440982BC035 for ; Tue, 21 Nov 2023 09:27:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF525335D79 for ; Tue, 21 Nov 2023 09:27:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17D72FC4 for ; Tue, 21 Nov 2023 09:27:19 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1700558647.4c1024a4644e41e7bd623d824a1f2c41edf8f5ec.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ptpd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ptpd/files/ptpd2.rc X-VCS-Directories: net-misc/ptpd/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4c1024a4644e41e7bd623d824a1f2c41edf8f5ec X-VCS-Branch: master Date: Tue, 21 Nov 2023 09:27:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 45f4c797-b575-40f2-b931-d4ca2f06a94c X-Archives-Hash: 7c7a2b1d98f6cbbd728b85b694d6388e commit: 4c1024a4644e41e7bd623d824a1f2c41edf8f5ec Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Nov 1 19:16:32 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Nov 21 09:24:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1024a4 net-misc/ptpd: fix init script, bug #849287 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://bugs.gentoo.org/849287 Signed-off-by: Ulrich Müller gentoo.org> net-misc/ptpd/files/ptpd2.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/ptpd/files/ptpd2.rc b/net-misc/ptpd/files/ptpd2.rc index bf8e14332298..4896d68149c0 100644 --- a/net-misc/ptpd/files/ptpd2.rc +++ b/net-misc/ptpd/files/ptpd2.rc @@ -27,9 +27,9 @@ checkconfig() { # colorize output echo "$msgout" | while read ln; do - if [[ "$ln" == *ignored* ]]; then + if [ "$ln" = *ignored* ]; then ewarn "$ln" - elif [[ "$ln" != "Configuration OK" ]]; then + elif [ "$ln" != "Configuration OK" ]; then eerror "$ln" fi done