dbus-daemon: Error reported when the parameter order is '--print-address --print-pid'
To reproduce
Steps to reproduce the behavior:
- execute
dbus-daemon --session --print-address --print-pid
Expected result
print address and pid
Actual result
$ dbus-daemon --session --print-address --print-pid
Invalid file descriptor: "--print-pid"
Additional context
if parameter order is '--print-pid --print-address', then there is no problem.
$ dbus-daemon --session --print-pid --print-address
unix:abstract=/tmp/dbus-g2CqsatHo6,guid=2a504d341e7c3e5b2075d38664c706e4
70990