]> git.cworth.org Git - notmuch-wiki/commit
When piping notmuch search into xargs, use --no-run-if-empty.
authorMichele Orrù <maker@tumbolandia.net>
Sat, 24 Jan 2015 17:19:06 +0000 (18:19 +0100)
committerMichele Orrù <maker@tumbolandia.net>
Sat, 24 Jan 2015 17:19:06 +0000 (18:19 +0100)
commita9ad99631a50bde3181cf94327c52883cc7af138
tree1954916ad4f930ae11beb9059d50602313483a46
parentf7c13e2bb7479195e2b17332eaa40f999d546b0e
When piping notmuch search into xargs, use --no-run-if-empty.

This might be useful to avoid non-zero returncodes when there are no search
results and xargs' command expect one or more arguments, like in `rm`.
excluding.mdwn