diff --git a/scripts/cnode-helper-scripts/itnRewards.sh b/scripts/cnode-helper-scripts/itnRewards.sh index 997f04ce4..34cd189fb 100755 --- a/scripts/cnode-helper-scripts/itnRewards.sh +++ b/scripts/cnode-helper-scripts/itnRewards.sh @@ -42,7 +42,7 @@ if [[ $(cat "${itn_signing_key_file}") == ed25519e_* ]]; then echo -e " https://cardano-community.github.io/guild-operators/#/Scripts/itnrewards\n" while true; do read -r -p "Enter path to cardano-cli with support for extended key conversion or press enter to quit: " CCLI - [[ -z "${CCLI}" ]] && rm -rf "${WALLET_FOLDER}/${wallet_name}" && exit 1 + [[ -z "${CCLI}" ]] && rm -rf "${WALLET_FOLDER:?}/${wallet_name}" && exit 1 if ! ${CCLI} shelley key 2>&1 | grep -q "convert-itn-extended-key"; then echo -e "\n${ORANGE}ERROR${NC}: specified file lacks support for extended ITN key conversion, please try again\n" continue