From 7db32e1bbf2059e34338c896243a7232ed4fd561 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sun, 15 Oct 2023 11:59:15 +0200 Subject: [PATCH] Correction : la fonction list affiche les VM disponibles. Ajout : la fonction active remplace la fonction list --- bin/qemush | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/qemush b/bin/qemush index eb8fa9b..d42e6b4 100755 --- a/bin/qemush +++ b/bin/qemush @@ -48,10 +48,15 @@ public_watch() { screen -dr "$1" } -public_list() { +public_active() { screen -ls } +public_list() { + echo "Available machines:" + ls --color=auto bin +} + function="$1" shift