From 8a9bbbfc981d30a5663c58f1a17c9a504ce38a6d Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 19 Apr 2011 18:06:01 +0200 Subject: [PATCH] Fix usage info (and args check) for remove_appvm_appmenus.sh (#225) --- dom0/aux-tools/remove_appvm_appmenus.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom0/aux-tools/remove_appvm_appmenus.sh b/dom0/aux-tools/remove_appvm_appmenus.sh index a05e491f..dad609a2 100755 --- a/dom0/aux-tools/remove_appvm_appmenus.sh +++ b/dom0/aux-tools/remove_appvm_appmenus.sh @@ -7,8 +7,8 @@ fi VMDIR=/var/lib/qubes/$VMTYPE/$VMNAME APPSDIR=$VMDIR/apps -if [ $# != 1 ]; then - echo "usage: $0 " +if [ $# -lt 1 ]; then + echo "usage: $0 [appvms|vm-templates|servicevms]" exit fi