diff --git a/vmcreate1.sh b/vmcreate1.sh index 0fd70e1..923cb44 100644 --- a/vmcreate1.sh +++ b/vmcreate1.sh @@ -31,6 +31,7 @@ if [ $# -eq 0 && -v $file && ! -f $file ]; then n) read -p "Enter file name: " file;; N) read -p "Enter file name: " file;; *) echo "Use '-f' flag for help"; exit 0;; + esac fi if [ $# -ne 0 && -v file ]; then show_help; fi