@cryptotaxi247 / netdata-1 / commits / 5e8ed0cd0

break the installer on control-d; fixes #2574

Costa Tsaousis (ktsaou) committed Aug 9, 2017 at 17:37 UTC 5e8ed0cd00e40b5ca45ef2b079e3254e90bcd166
1 file changed +2
netdata-installer.sh
+2
@@ -392,8 +392,10 @@ if [ ${DONOTWAIT} -eq 0 ]
392 if [ ! -z "${NETDATA_PREFIX}" ]
393 then
394 eval "read >&2 -ep \$'\001${TPUT_BOLD}${TPUT_GREEN}\002Press ENTER to build and install netdata to \'\001${TPUT_CYAN}\002${NETDATA_PREFIX}\001${TPUT_YELLOW}\002\'\001${TPUT_RESET}\002 > ' -e -r REPLY"
395 + [ $? -ne 0 ] && exit 1
396 else
397 eval "read >&2 -ep \$'\001${TPUT_BOLD}${TPUT_GREEN}\002Press ENTER to build and install netdata to your system\001${TPUT_RESET}\002 > ' -e -r REPLY"
398 + [ $? -ne 0 ] && exit 1
399 fi
400 fi
401