Afficher un message d'erreur si une VM n'arrive pas à se lancer

This commit is contained in:
Ahurac 2024-01-21 13:54:01 +01:00
parent 541416cd26
commit 893c2fc42e

View file

@ -78,7 +78,7 @@ public_start() {
QEMUSH_NAME="$1"
shift
exec "$QEMUSH_NAME" "$@"
"$QEMUSH_NAME" "$@" || perror "error launching virtual machine \"${QEMUSH_NAME}\""
}
# Attach to a running virtual machine output, the latest opened if no