Update virtmon

This commit is contained in:
clsty
2025-11-12 21:54:08 +08:00
parent 9997fdce0c
commit 5696a4348e
5 changed files with 29 additions and 25 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ while true ; do
case "$1" in
-h|--help) showhelp;exit;;
--) shift;break ;;
*) sleep 0 ;;
*) shift ;;
esac
done
@@ -56,6 +56,6 @@ while true ; do
--sca) VMON_SCALE="$2";shift 2;;
--ext) VMON_EXTRA=", $2";shift 2;;
--) shift;break ;;
*) sleep 0 ;;
*) echo -e "$0: Wrong parameters.";exit 1;;
esac
done