chiark / gitweb /
systemctl: always show what and where for mount units in status output
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Oct 2010 20:11:45 +0000 (22:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Oct 2010 20:11:45 +0000 (22:11 +0200)
src/systemctl.c

index d710bcf..4f4b6dd 100644 (file)
@@ -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)