diff --git a/install-dsmon.sh b/install-dsmon.sh index 36d651a..42610bd 100755 --- a/install-dsmon.sh +++ b/install-dsmon.sh @@ -13,7 +13,7 @@ if [ -d "/opt/idssys/dsmon" ]; then echo -en "${idsCL[Red]}DiskSpace-Monitor is already installed, would you like to re-install (y/n)?${idsCL[Default]}" read -n 1 reinstall case $reinstall in - [Yy]) `bash <(curl -sL https://scity.xyz/uninstall-dsmon)`;; + [Yy]) uninstall=$(`bash <(curl -sL https://scity.xyz/uninstall-dsmon)`);; *) EXIT1;; esac fi