diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/sysfs-show.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/sysfs-show.c b/src/login/sysfs-show.c index 3286411de8..939bd6125e 100644 --- a/src/login/sysfs-show.c +++ b/src/login/sysfs-show.c @@ -179,6 +179,8 @@ int show_sysfs(const char *seat, const char *prefix, unsigned n_columns) { first = udev_enumerate_get_list_entry(e); if (first) show_sysfs_one(udev, seat, &first, "/", prefix, n_columns); + else + printf("%s%s%s\n", prefix, draw_special_char(DRAW_TREE_RIGHT), "(none)"); return r; } |