systemctl: always show what and where for mount units in status output

This commit is contained in:
Lennart Poettering 2010-10-28 22:11:45 +02:00
parent ab58e29119
commit 9feeba4bbb

View 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)