summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-28 22:11:45 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-28 22:11:45 +0200
commit9feeba4bbb768a2564520b5d3e238c44fb3f6c7b (patch)
tree6d32d2fab896c22625574ea66a52ce3da49a2b8d
parentab58e29119798f9f15a537fcd31119342db177a2 (diff)
systemctl: always show what and where for mount units in status output
-rw-r--r--src/systemctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index d710bcf442..4f4b6dd6d2 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)