commit: 4c1024a4644e41e7bd623d824a1f2c41edf8f5ec Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Wed Nov 1 19:16:32 2023 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> 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 <mmk <AT> levelnine.at> Closes: https://bugs.gentoo.org/849287 Signed-off-by: Ulrich Müller <ulm <AT> 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
