index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-01 09:05:51 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-01 09:05:51 +0100 |
commit | 496c571cd233a8646351ba241c3119ceaf2b8063 (patch) | |
tree | 3018e0a5a4ed78158c57a5b09d4b9e87fd3246d5 /bin/modify-package-state | |
parent | 6047f2686cfe623e08fbaf4eae0a552ded731eb1 (diff) |
-rwxr-xr-x | bin/modify-package-state | 3 |
diff --git a/bin/modify-package-state b/bin/modify-package-state index 8c5fac7..68b2384 100755 --- a/bin/modify-package-state +++ b/bin/modify-package-state @@ -225,8 +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 --raw --batch | \ - sed '1d' | \ + mysql_run_query -N --raw --batch | \ grep -qxF '1'; then # shellcheck disable=SC2016 { |