From f28555552adc44d8fab0f6a32247ee14b19bb103 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 17 Feb 2019 16:45:48 +0200 Subject: [PATCH] S13watchdog: fix program check --- board/common/overlay/etc/init.d/S13watchdog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/common/overlay/etc/init.d/S13watchdog b/board/common/overlay/etc/init.d/S13watchdog index 4b5e686b6f..e66871bd1e 100755 --- a/board/common/overlay/etc/init.d/S13watchdog +++ b/board/common/overlay/etc/init.d/S13watchdog @@ -5,7 +5,7 @@ DEV="/dev/watchdog" PROG="/sbin/watchdog" -test -c ${PROG} || exit 0 +test -x ${PROG} || exit 0 test -c ${DEV} || exit 0 test -n "${OS_VERSION}" || source /etc/init.d/base