Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-12 14:31:29 +0200
committerErich Eckner <git@eckner.net>2019-07-12 14:31:29 +0200
commit28ff3566e0eddbd7d29190fe0c4e0b48fec9912f (patch)
tree8f145ada36e8da1ccf5a74a179c92e75402f8cd7 /bin
parent0e5f6cfe4364b25f62be175ba015439639e2e2b9 (diff)
bin/nit-picker: do not abort when -n and ii not running
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nit-picker2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nit-picker b/bin/nit-picker
index 5eba75c..a84b47d 100755
--- a/bin/nit-picker
+++ b/bin/nit-picker
@@ -118,7 +118,7 @@ while pgrep -x ii >/dev/null \
tr '\t' ' ' | \
shuf | \
while read -r action parameters; do
- if ! pgrep -x ii >/dev/null; then
+ if ${irc} && ! pgrep -x ii >/dev/null; then
break
fi
case "${action}" in