From 6d2067a4bf1ae0a9ae1c570a0d1f2004e80eb229 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 9 Dec 2021 00:54:48 -0800 Subject: [PATCH] script/seccomp.sh: fix argc check This check was always broken, and it slipped through the cracks because we never run it without additional architectures now. Signed-off-by: Kir Kolyshkin --- script/seccomp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/seccomp.sh b/script/seccomp.sh index 488ef5b99..2c2ea84e0 100755 --- a/script/seccomp.sh +++ b/script/seccomp.sh @@ -50,7 +50,7 @@ function build_libseccomp() { mv "$tar"{,.asc} "$dest"/src } -if [ $# -lt 4 ]; then +if [ $# -lt 2 ]; then echo "Usage: seccomp.sh [ ...]" >&2 exit 1 fi