diff options
author | Alexander Kapshuk <alexander.kapshuk@gmail.com> | 2018-05-31 21:22:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-07 17:44:52 +0200 |
commit | 71bdd87f58f6791e50ddd7a078c47f9803c523ee (patch) | |
tree | 18c96d3b75ea1c311701eea711962fcaf02f8977 /scripts/get_maintainer.pl | |
parent | ver_linux: Process input coming from procmaps that matches libc only (diff) | |
download | linux-71bdd87f58f6791e50ddd7a078c47f9803c523ee.tar.xz linux-71bdd87f58f6791e50ddd7a078c47f9803c523ee.zip |
ver_linux: Do not check for ver_linux pattern in version function
Checking whether output of commands matches the ver_linux pattern in
the version function is original shell implementation legacy code. When
the original implementation failed to locate a particular utility,
it generated error output along the lines of:
ver_linux:line number: command not found.
The awk implementation, does not contain the name of the script within the
body of the error message returned by the subshell when a given utility
fails to be located. The error message returned is along the lines of:
sh: name of utility: command not found
Safeguarding against the ver_linux pattern being found in the output
being parsed may thus be safely omitted.
Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/get_maintainer.pl')
0 files changed, 0 insertions, 0 deletions