Update vmcreate1.sh
This commit is contained in:
@@ -196,8 +196,8 @@ if [[ $# -ne 0 ]]; then
|
||||
fi
|
||||
|
||||
# Проверяем ключ
|
||||
if [ -v pubkey ]; then
|
||||
if [[ ! -e pubkey ]]; then
|
||||
if [ -v $pubkey ]; then
|
||||
if [[ ! -e "$pubkey" ]]; then
|
||||
input=y
|
||||
echo "Public key does not exist. Generate new pair? y/n"
|
||||
read input
|
||||
|
||||
Reference in New Issue
Block a user