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 <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2021-12-09 00:54:48 -08:00
parent 457ca62f1f
commit 6d2067a4bf
+1 -1
View File
@@ -50,7 +50,7 @@ function build_libseccomp() {
mv "$tar"{,.asc} "$dest"/src
}
if [ $# -lt 4 ]; then
if [ $# -lt 2 ]; then
echo "Usage: seccomp.sh <version> <dest-dir> [<extra-arch> ...]" >&2
exit 1
fi