diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-09-21 10:45:26 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-09-21 10:58:54 +0200 |
commit | 51b006e18de49c91a26fae232ec1bc12e26942ea (patch) | |
tree | e8de3d9f007cba3ac416d2c094638456c1832167 /src/udev/udevadm-trigger.c | |
parent | Merge pull request #10135 from yuwata/log-skipped-tests (diff) | |
download | systemd-51b006e18de49c91a26fae232ec1bc12e26942ea.tar.xz systemd-51b006e18de49c91a26fae232ec1bc12e26942ea.zip |
udevadm: show only version number for '--version' option
This effectively reverts 2bc54be485def3d1697a00209ff73ae21aa7f268
and relevant changes in #9920, as it is used to determine the version
of udev, e.g., dracut.
Fixes dracutdevs/dracut#468.
Diffstat (limited to 'src/udev/udevadm-trigger.c')
-rw-r--r-- | src/udev/udevadm-trigger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-trigger.c b/src/udev/udevadm-trigger.c index 84a977e094..e08d342f29 100644 --- a/src/udev/udevadm-trigger.c +++ b/src/udev/udevadm-trigger.c @@ -232,7 +232,7 @@ int trigger_main(int argc, char *argv[], void *userdata) { } case 'V': - return version(); + return print_version(); case 'h': return help(); case '?': |