From d05885c1afb96dc893d4eb763d2ee577a7686fb5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 23 Oct 2017 12:18:29 +0200 Subject: bin/return-assignment: silence grep --- bin/return-assignment | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/return-assignment b/bin/return-assignment index 27404df..2f60612 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -47,7 +47,7 @@ if [ "$5" = 'ERROR' ]; then fi # shellcheck disable=SC2154 - if ! grep -xF "${slave}" "${work_dir}/package-states/$1.$2.$3.$4.locked"; then + if ! grep -qxF "${slave}" "${work_dir}/package-states/$1.$2.$3.$4.locked"; then # whoops, this package is built by someone else exit 0 fi -- cgit v1.2.3-70-g09d2