diff options
Diffstat (limited to 'tests/vm-check.sh')
-rwxr-xr-x | tests/vm-check.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vm-check.sh b/tests/vm-check.sh index 78086e7..327aa6d 100755 --- a/tests/vm-check.sh +++ b/tests/vm-check.sh @@ -4,7 +4,7 @@ set -eu usage() { cat <<-'EOF' Usage: - vm-check.sh [-x] -t TYPE -H HOST -r REMOTE + vm-check.sh [-x] -t TYPE -H HOST -r REMOTE [-- ARGS] vm-check.sh -h EOF } @@ -107,6 +107,6 @@ trap shutdown EXIT { STATUS=0 # shellcheck disable=2029 - ssh "$HOST" sh check.sh "$REMOTE" || STATUS=$? + ssh "$HOST" sh check.sh "$@" "$REMOTE" || STATUS=$? printf '%s' "$STATUS" > "$STATUS_F" } 2>&1 | pre_guest |