exit when daemon does not exist
This commit is contained in:
@@ -98,6 +98,7 @@ twister_launch(){
|
|||||||
|
|
||||||
if [[ ! -f ${coreCloneDir}/twisterd ]];then
|
if [[ ! -f ${coreCloneDir}/twisterd ]];then
|
||||||
echo -e "\n${LRED}Cannot launch twister because twisterd does not exist in ${coreCloneDir}${NC}\n\n"
|
echo -e "\n${LRED}Cannot launch twister because twisterd does not exist in ${coreCloneDir}${NC}\n\n"
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
|
|
||||||
if [ ! -d ${HOME}/.twister ];then
|
if [ ! -d ${HOME}/.twister ];then
|
||||||
|
Reference in New Issue
Block a user