Compare commits
No commits in common. "893c2fc42e86280668933274f20bb05e448310df" and "3b15e39dae3be48f03ee9890a88f63406517fdfd" have entirely different histories.
893c2fc42e
...
3b15e39dae
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ umask 027
|
|||
|
||||
# Function to print a colored error
|
||||
perror() {
|
||||
>&2 printf '\033[1;31mKO:\033[0m \033[1m%s\033[0m\n' "$*"
|
||||
>&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*"
|
||||
}
|
||||
|
||||
# Function to show the usage
|
||||
|
@ -78,7 +78,7 @@ public_start() {
|
|||
QEMUSH_NAME="$1"
|
||||
shift
|
||||
|
||||
"$QEMUSH_NAME" "$@" || perror "error launching virtual machine \"${QEMUSH_NAME}\""
|
||||
exec "$QEMUSH_NAME" "$@"
|
||||
}
|
||||
|
||||
# Attach to a running virtual machine output, the latest opened if no
|
||||
|
|
Loading…
Reference in a new issue