summaryrefslogtreecommitdiffstats
path: root/src/core/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/service.c')
-rw-r--r--src/core/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c
index 0481416f22..addd4e66a7 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -4173,7 +4173,7 @@ static void service_force_watchdog(Service *s) {
return;
log_unit_error(UNIT(s), "Watchdog request (last status: %s)!",
- s->status_text ? s->status_text : "<unset>");
+ s->status_text ?: "<unset>");
service_enter_signal(s, SERVICE_STOP_WATCHDOG, SERVICE_FAILURE_WATCHDOG);
}