diff options
Diffstat (limited to 'src/rc/_usage.c')
-rw-r--r-- | src/rc/_usage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rc/_usage.c b/src/rc/_usage.c index 9fc3e5d8..40d81422 100644 --- a/src/rc/_usage.c +++ b/src/rc/_usage.c @@ -44,12 +44,9 @@ void set_quiet_options(void) _noreturn void show_version(void) { - const char *systype = NULL; + char *systype = get_systype(); printf("%s (OpenRC", applet); - systype = detect_container(); - if (!systype) - systype = detect_vm(); if (systype) printf(" [%s]", systype); printf(") %s", VERSION); |