diff options
-rw-r--r-- | src/rc/rc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c index 1aae45ff..7836341e 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -283,9 +283,8 @@ open_shell(void) #ifdef __linux__ const char *sys = rc_sys(); - /* VSERVER and OPENVZ systems cannot really drop to shells */ - if (sys && - (strcmp(sys, "VSERVER") == 0 || strcmp(sys, "OPENVZ") == 0)) + /* VSERVER systems cannot really drop to shells */ + if (sys && strcmp(sys, RC_SYS_VSERVER) == 0) { execl("/sbin/halt", "/sbin/halt", "-f", (char *) NULL); eerrorx("%s: unable to exec `/sbin/halt': %s", |