aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-04-02 02:36:08 -0500
committerepoch <epoch@hacking.allowed.org>2020-04-02 02:36:08 -0500
commit178ca5c659244b19c390b0700a4218215dc6fb3d (patch)
treeb6c9265453584076efe102ffc4862378ce8b42d9 /bin
parent2870621fda77e7daffee13984618d213b83738a3 (diff)
downloadhackvr-178ca5c659244b19c390b0700a4218215dc6fb3d.tar.gz
hackvr-178ca5c659244b19c390b0700a4218215dc6fb3d.zip
made the xargs in hackvr_uri use the GNU extension -r to not run anything if there are not any lines of input
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hackvr_uri2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hackvr_uri b/bin/hackvr_uri
index d4e3b3a..7907d9b 100755
--- a/bin/hackvr_uri
+++ b/bin/hackvr_uri
@@ -4,4 +4,4 @@ hackvr \
| tee \
>(sed -un "s/$USER *action *<\([^ ]*\)>/\1/p" \
| stdbuf -o0 tr '\n' '\0' \
- | xargs -n1 -P 0 -0 copy_start_nevermind.sh 2>&1 >/dev/null)
+ | xargs -n1 -r -P 0 -0 copy_start_nevermind.sh 2>&1 >/dev/null)