]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
main: drop redundant ()
authorLennart Poettering <lennart@poettering.net>
Thu, 10 Aug 2023 08:14:33 +0000 (10:14 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 10 Aug 2023 08:14:33 +0000 (10:14 +0200)
src/core/manager.c

index 29bb7cca1ab2801b1db5df4af64baf564d5f581b..73c5b3109a0c9d12e867ca8fd84e4628b351e82b 100644 (file)
@@ -3456,7 +3456,7 @@ void manager_override_watchdog(Manager *m, WatchdogType t, usec_t timeout) {
         if (m->watchdog_overridden[t] == timeout)
                 return;
 
-        usec = (timeout == USEC_INFINITY) ? m->watchdog[t] : timeout;
+        usec = timeout == USEC_INFINITY ? m->watchdog[t] : timeout;
         if (t == WATCHDOG_RUNTIME)
                 (void) watchdog_setup(usec);
         else if (t == WATCHDOG_PRETIMEOUT)