Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/modify-package-state
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-07 16:30:10 +0100
committerErich Eckner <git@eckner.net>2018-03-07 16:30:10 +0100
commita13bfbacf27d09f7c8ea6b4b559b0980ee8957b9 (patch)
treed541a117c6cf4b18cd363b54702abde1d679e136 /bin/modify-package-state
parent98c468dee44e09a27c89019c3d8c584efe0bf1c0 (diff)
make -N --raw --batch the default arguments to mysql, explicitely override them if required
Diffstat (limited to 'bin/modify-package-state')
-rwxr-xr-xbin/modify-package-state2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/modify-package-state b/bin/modify-package-state
index 68b2384..9b0571b 100755
--- a/bin/modify-package-state
+++ b/bin/modify-package-state
@@ -225,7 +225,7 @@ while read -r package reason; do
;;
esac
if printf 'SELECT 1 FROM %s %s AND %s LIMIT 1' "${combiner}" "${selector}" "${tester}" | \
- mysql_run_query -N --raw --batch | \
+ mysql_run_query | \
grep -qxF '1'; then
# shellcheck disable=SC2016
{