aboutsummaryrefslogtreecommitdiff
path: root/src/rc/_usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/_usage.c')
-rw-r--r--src/rc/_usage.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rc/_usage.c b/src/rc/_usage.c
index 9fc3e5d8..0d3d5edd 100644
--- a/src/rc/_usage.c
+++ b/src/rc/_usage.c
@@ -47,10 +47,7 @@ _noreturn void show_version(void)
const char *systype = NULL;
printf("%s (OpenRC", applet);
- systype = detect_container();
- if (!systype)
- systype = detect_vm();
- if (systype)
+ if ((systype = rc_sys()))
printf(" [%s]", systype);
printf(") %s", VERSION);
#ifdef BRANDING