summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2023-11-01 20:16:32 +0100
committerUlrich Müller <ulm@gentoo.org>2023-11-21 10:24:07 +0100
commit4c1024a4644e41e7bd623d824a1f2c41edf8f5ec (patch)
treee8313766d1b8c3e15113dbdee4d45fc4f101e917 /net-misc/ptpd
parentprofiles/arch/amd64: properly mask freecad[qt6] on amd64 (diff)
downloadgentoo-4c1024a4644e41e7bd623d824a1f2c41edf8f5ec.tar.gz
gentoo-4c1024a4644e41e7bd623d824a1f2c41edf8f5ec.tar.bz2
gentoo-4c1024a4644e41e7bd623d824a1f2c41edf8f5ec.zip
net-misc/ptpd: fix init script, bug #849287
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/849287 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'net-misc/ptpd')
-rw-r--r--net-misc/ptpd/files/ptpd2.rc4
1 files 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