Update vmcreate1.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user