diff options
Diffstat (limited to 'src/update-utmp.c')
-rw-r--r-- | src/update-utmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update-utmp.c b/src/update-utmp.c index 5a48bd98dd..3ec0a16c2a 100644 --- a/src/update-utmp.c +++ b/src/update-utmp.c @@ -116,10 +116,10 @@ static int get_current_runlevel(Context *c) { /* The first target of this list that is active or has * a job scheduled wins */ { '5', SPECIAL_RUNLEVEL5_TARGET }, - { '4', SPECIAL_RUNLEVEL4_TARGET }, { '3', SPECIAL_RUNLEVEL3_TARGET }, + { '4', SPECIAL_RUNLEVEL4_TARGET }, { '2', SPECIAL_RUNLEVEL2_TARGET }, - { '1', SPECIAL_RESCUE_TARGET }, + { 'S', SPECIAL_RESCUE_TARGET }, }; const char *interface = "org.freedesktop.systemd1.Unit", |