exit when daemon does not exist

This commit is contained in:
2020-01-21 23:35:54 -07:00
parent 8aa88a0160
commit e4d14907c1

View File

@@ -98,6 +98,7 @@ twister_launch(){
if [[ ! -f ${coreCloneDir}/twisterd ]];then
echo -e "\n${LRED}Cannot launch twister because twisterd does not exist in ${coreCloneDir}${NC}\n\n"
exit 1
else
if [ ! -d ${HOME}/.twister ];then