diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2005-03-31 15:17:06 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2005-03-31 15:17:06 +0000 |
| commit | a9454bcc3519b1b41a5439584b20bfb326dedc52 (patch) | |
| tree | 576a7ed96e6c64fc254fe117c388fe721d6a5ab1 /usr.sbin | |
| parent | 16128c84a36bde1cfc44637da6d8fe5408f2555d (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/watchdogd/watchdogd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c index 0c1b6258bede0..321fc5db79a81 100644 --- a/usr.sbin/watchdogd/watchdogd.c +++ b/usr.sbin/watchdogd/watchdogd.c @@ -120,7 +120,8 @@ main(int argc, char *argv[]) timeout |= WD_PASSIVE; else timeout |= WD_ACTIVE; - if (watchdog_patpat() < 0) + if (watchdog_patpat() < 0 && + (timeout & WD_INTERVAL) != WD_TO_NEVER) err(EX_OSERR, "patting the dog"); return (EX_OK); } |
