From 9feeba4bbb768a2564520b5d3e238c44fb3f6c7b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 28 Oct 2010 22:11:45 +0200 Subject: [PATCH] systemctl: always show what and where for mount units in status output --- src/systemctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systemctl.c b/src/systemctl.c index d710bcf44..4f4b6dd6d 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -1820,9 +1820,9 @@ static void print_status_info(UnitStatusInfo *i) { if (i->sysfs_path) printf("\t Device: %s\n", i->sysfs_path); - else if (i->where) + if (i->where) printf("\t Where: %s\n", i->where); - else if (i->what) + if (i->what) printf("\t What: %s\n", i->what); if (i->accept) -- 2.30.2