mirror of
https://github.com/opencontainers/runc.git
synced 2025-11-03 09:51:06 +08:00
silence "which: no criu"
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -22,7 +22,7 @@ HELLO_IMAGE="$TESTDATA/$HELLO_FILE"
|
||||
HELLO_BUNDLE="$BATS_TMPDIR/hello-world"
|
||||
|
||||
# CRIU PATH
|
||||
CRIU="$(which criu || true)"
|
||||
CRIU="$(which criu 2>/dev/null || true)"
|
||||
|
||||
# Kernel version
|
||||
KERNEL_VERSION="$(uname -r)"
|
||||
|
||||
Reference in New Issue
Block a user