diff --git a/src/ks-upa b/src/ks-upa index 9696af1..2c98cfb 100755 --- a/src/ks-upa +++ b/src/ks-upa @@ -677,6 +677,8 @@ function createConfig() { echo "* PEM file copied to ${dirConfig}/connect.pem" else echo "+ File ${pem_path} does not exist" + echo "+ The configuration is cancelled" + exit fi else raw_password_enter=${PASS} diff --git a/src/ks-upf b/src/ks-upf index 2632876..45e1bb4 100755 --- a/src/ks-upf +++ b/src/ks-upf @@ -704,6 +704,8 @@ function createConfig() { echo "* PEM file copied to ${dirConfig}/connect.pem" else echo "+ File ${pem_path} does not exist" + echo "+ The configuration is cancelled" + exit fi else raw_password_enter=${PASS} diff --git a/src/ks-upr b/src/ks-upr index 6c0d431..274c638 100755 --- a/src/ks-upr +++ b/src/ks-upr @@ -563,6 +563,8 @@ function createConfig() { echo "* PEM file copied to ${dirConfig}/connect.pem" else echo "+ File ${pem_path} does not exist" + echo "+ The configuration is cancelled" + exit fi else raw_password_enter=${PASS} diff --git a/src/ks-upv b/src/ks-upv index a8d123a..dda7193 100755 --- a/src/ks-upv +++ b/src/ks-upv @@ -677,6 +677,8 @@ function createConfig() { echo "* PEM file copied to ${dirConfig}/connect.pem" else echo "+ File ${pem_path} does not exist" + echo "+ The configuration is cancelled" + exit fi else raw_password_enter=${PASS}