app-admin/swatchdog: Makes swatchdog-init POSIX compliant
authorChema Alonso Josa <nimiux@gentoo.org>
Tue, 14 Feb 2017 21:32:49 +0000 (22:32 +0100)
committerChema Alonso Josa <nimiux@gentoo.org>
Tue, 14 Feb 2017 21:33:18 +0000 (22:33 +0100)
Fixes bug #609134

Package-Manager: portage-2.3.3

app-admin/swatchdog/files/swatchdog-init

index 7db43eb242660db1dde05df5cbcb8a3bb75ae9b3..d623070073f7fb33f597be8f9ee47df193edb657 100644 (file)
@@ -33,7 +33,7 @@ parse_full() {
 
 start() {
        checkpath -d -q -m 0750 -o root:root /run/swatchdog
-       if [ "${PARSE_FULL}" == "YES" ]; then
+       if [ "${PARSE_FULL}" = "YES" ]; then
                parse_full
        fi
        gen_script --tail-file