diff --git a/quickget b/quickget index 484e27b..6dba6c3 100755 --- a/quickget +++ b/quickget @@ -367,7 +367,7 @@ function create_config() { OS="custom" if ! mkdir "${VM_PATH}" 2>/dev/null; then echo "ERROR! Could not create directory: ${VM_PATH}. Please verify that it does not already exist" - exit 21 + exit 1 fi if [[ "${INPUT}" == "http://"* ]] || [[ "${INPUT}" == "https://"* ]]; then INPUT="$(web_redirect "${INPUT}")" @@ -376,7 +376,7 @@ function create_config() { INPUT="${VM_PATH}/${INPUT##*/}" else echo "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" - exit 22 + exit 1 fi fi if [[ "${INPUT}" == *".iso" ]]; then @@ -390,7 +390,7 @@ function create_config() { CUSTOM_IMAGE_TYPE="qcow2" else echo "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" - exit 23 + exit 1 fi echo "Creating custom VM config for ${INPUT##*/}." case "${INPUT,,}" in