udevadm: print error if the commands fail
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 18 Jan 2019 15:39:58 +0000 (16:39 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 19 Feb 2019 21:17:42 +0000 (06:17 +0900)
commita0b60b8a1b16217d9167d03c1c0ee7e4a362514f
tree35084783912c08dd15dbad70e9e53eafad88f96f
parentd02c6f546167d5f076a8940470db3a75ff12e814
udevadm: print error if the commands fail

We'd exit with an error but no output. Print the error in the usual fashion.
src/udev/udevadm-control.c