X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemctl.c;h=4f4b6dd6d212b96e68974e0401b709a94c765aae;hb=9feeba4bbb768a2564520b5d3e238c44fb3f6c7b;hp=d710bcf4421fde8d2cd41266dd7399011a205aa3;hpb=ab58e29119798f9f15a537fcd31119342db177a2;p=elogind.git 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)