2 Commits

Author SHA1 Message Date
730d5ec061 tell user where to find twister.conf 2020-01-21 23:38:50 -07:00
e4d14907c1 exit when daemon does not exist 2020-01-21 23:35:54 -07:00

View File

@@ -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
@@ -128,6 +129,7 @@ twister_rpc(){
echo -e "\n${YELLOW}When you launch twister, you may be asked for a name and password:${NC}" echo -e "\n${YELLOW}When you launch twister, you may be asked for a name and password:${NC}"
echo -e "${YELLOW}user: user${NC}" echo -e "${YELLOW}user: user${NC}"
echo -e "${YELLOW}password: pwd${NC}" echo -e "${YELLOW}password: pwd${NC}"
echo -e "${YELLOW}See twister.conf in ${HOME}/.twister${NC}"
} }
if [[ -z "${1}" ]];then if [[ -z "${1}" ]];then