summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index 79e7494..d7eb8d3 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -130,9 +130,7 @@ static void die_if_nologin(void)
fclose(fp);
} else
puts("\r\nSystem closed for routine maintenance\r");
- if (!amroot)
- exit(1);
- puts("\r\n[Disconnect bypassed -- root login allowed]\r");
+ exit(1);
}
#else
static ALWAYS_INLINE void die_if_nologin(void) {}