chiark / gitweb /
utmp: turn systemd-update-utmp-shutdown.service into a normal runtime service
[elogind.git] / src / update-utmp / update-utmp.c
index 9184025554f03dc162c1096562aa1e81df496434..202aa987675b459b1b960b17f0e666c6f591ca4f 100644 (file)
@@ -104,7 +104,7 @@ static int get_current_runlevel(Context *c) {
                 { '3', SPECIAL_RUNLEVEL3_TARGET },
                 { '4', SPECIAL_RUNLEVEL4_TARGET },
                 { '2', SPECIAL_RUNLEVEL2_TARGET },
-                { 'S', SPECIAL_RESCUE_TARGET },
+                { '1', SPECIAL_RESCUE_TARGET },
         };
         const char
                 *interface = "org.freedesktop.systemd1.Unit",