Message ID | 20200928174958.26690-12-thuth@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [kvm-unit-tests,PULL,01/11] runtime.bash: remove outdated comment | expand |
diff --git a/scripts/arch-run.bash b/scripts/arch-run.bash index 660f1b7..5997e38 100644 --- a/scripts/arch-run.bash +++ b/scripts/arch-run.bash @@ -101,13 +101,13 @@ timeout_cmd () qmp () { - echo '{ "execute": "qmp_capabilities" }{ "execute":' "$2" '}' | nc -U $1 + echo '{ "execute": "qmp_capabilities" }{ "execute":' "$2" '}' | ncat -U $1 } run_migration () { - if ! command -v nc >/dev/null 2>&1; then - echo "${FUNCNAME[0]} needs nc (netcat)" >&2 + if ! command -v ncat >/dev/null 2>&1; then + echo "${FUNCNAME[0]} needs ncat (netcat)" >&2 return 2 fi