mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user