Compare commits

...

2 commits

View file

@ -40,7 +40,7 @@ umask 027
# Function to print a colored error # Function to print a colored error
perror() { perror() {
>&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*" >&2 printf '\033[1;31mKO:\033[0m \033[1m%s\033[0m\n' "$*"
} }
# Function to show the usage # Function to show the usage
@ -78,7 +78,7 @@ public_start() {
QEMUSH_NAME="$1" QEMUSH_NAME="$1"
shift 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 # Attach to a running virtual machine output, the latest opened if no