Exit if present

This commit is contained in:
vdo 2022-06-01 15:22:08 +01:00
parent f201e23b16
commit 3c232d9672

View file

@ -170,8 +170,8 @@ install_xmrsh() {
check_return $?
else
echo -e "${Ok}"
echo -e "${WarnBullet}Warning: xmr.sh already present in ${XMRSH_DIR}" #FIXME: This should exit, when uninstall script ready
return
echo -e "${ErrBullet}Error: xmr.sh already present in ${XMRSH_DIR}. Run the uninstall script first."
exit 1
fi
echo -e "${Ok}"
}