diff --git a/vmcreate1.sh b/vmcreate1.sh index 6436959..31705ad 100644 --- a/vmcreate1.sh +++ b/vmcreate1.sh @@ -16,12 +16,11 @@ while getopts "a:f:h" opt; do a) haadd=true; ;; f) file="$OPTARG" ;; h) show_help ; exit 0;; - *) noopts=true + # *) noopts=true esac done if [ -f $file ]; then echo "File $file does not exist."; exit 1 -if [ noargs ] # Если нет аргументов, то создаем временный файл if [ $# -eq 0 ] then