naywatch: fix mode without watchdog
authorNick Hainke <vincent@systemli.org>
Thu, 13 Jan 2022 07:46:31 +0000 (08:46 +0100)
committerNick Hainke <vincent@systemli.org>
Thu, 13 Jan 2022 08:04:43 +0000 (09:04 +0100)
commit440e7af33922919e44972f0eb45cd237d3382267
tree3964d760b51707a124f6d90c860342bb0c81fb39
parentc8b613e11c3ba016955b51ad5b3c843318ee6d97
naywatch: fix mode without watchdog

The if-condition was always evaluated to be true.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit cf34c5a4a1ace3f8eeac2d2b9b8539e085e8fabf)
naywatch/files/naywatch.sh