chiark / gitweb /
loginctl: fix typo
[elogind.git] / src / systemctl.c
index fdff2d12506ba9aaa4e7daaa12b91125576f91b3..2bf2b697e2f91702f6000ac87dfd7587663fc88f 100644 (file)
@@ -2154,8 +2154,6 @@ static void print_status_info(UnitStatusInfo *i) {
 
                 printf(")%s\n", off);
 
-                on = off = NULL;
-
                 if (i->main_pid == p->pid &&
                     i->start_timestamp == p->start_timestamp &&
                     i->exit_timestamp == p->start_timestamp)