summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2017-05-08 10:50:27 -0500
committerDavid Teigland <teigland@redhat.com>2017-07-07 15:34:27 -0500
commitcf3a6bbbe881d9a4ba6d108304f0c07ee6cd8d1a (patch)
tree08ba16870e5609a0b9a59c900448bb41513e5b3b /udev
parent85f1814e9dc574c271cfdae91adfe2628ff62fa9 (diff)
downloadlvm2-cf3a6bbbe881d9a4ba6d108304f0c07ee6cd8d1a.tar.gz
commands: fix handing of ENO_SUCH_CMD in script
Fix the error messages when an unrecognized command is run from a script. We shouldn't attempt to parse options for an unrecognized command name, which causes misleading errors about bad options, but rather exit right when we know the command name is not valid. Also don't complain about exiting without an error message when running a script if no command didn't exist.
Diffstat (limited to 'udev')
0 files changed, 0 insertions, 0 deletions