Merge pull request #2452 from AkihiroSuda/silence-criu-not-found

silence "which: no criu"
This commit is contained in:
Mrunal Patel 2020-06-02 11:48:20 -07:00 committed by GitHub
commit 0853956d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)"