chiark / gitweb /
shared/bus-util: format uid==-1 and gid==-1 as [not set]
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 25 Sep 2017 09:23:59 +0000 (11:23 +0200)
committerSven Eden <yamakuzure@gmx.net>
Mon, 25 Sep 2017 09:23:59 +0000 (11:23 +0200)
commite967f5af047cdd82b7a3a9bd88359d75791e4189
tree6e67175b2171e017d1b048e0d08da3d4a259c633
parentb32efd4b179b958d57653f4cc074413307e7dab1
shared/bus-util: format uid==-1 and gid==-1 as [not set]

$ systemctl show elogind-journald -p UID,GID
UID=4294967295
GID=4294967295



$ systemctl show elogind-journald -p UID,GID
UID=[not set]
GID=[not set]

Just seeing the number is very misleading.

Fixes #6511.
src/shared/bus-util.c