]> granicus.if.org Git - strace/commit
maint: fix ioctls_sym.sh premature termination
authorGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Wed, 28 Jun 2017 17:39:54 +0000 (20:39 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 29 Jun 2017 09:17:18 +0000 (09:17 +0000)
commit16f1b5ca721fb899e038a7916fd20f464176e400
tree82b987dccfc2d6e6f3f33ae8bd79c5ff24d24ccd
parent663b4f8273643372434c8e40a8fa20cdb1aade97
maint: fix ioctls_sym.sh premature termination

When the list of headers do not fit into the command line, xargs splits
it into several lists and then passes them to grep.  If no headers from
a list match the grep pattern, grep exits with a non-zero status that
causes xargs to exit with a non-zero status, too.

* maint/ioctls_sym.sh: Use "find -exec +" instead of xargs,
ignore its exit status.
maint/ioctls_sym.sh