Skip to content

Commit 4e5571b

Browse files
committed
Setup hosts file echo
1 parent 4d77e44 commit 4e5571b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/setup-hosts-file.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [ ${QUESTION} == "a" ]; then
2626
echo -e ${YELLOW}"$HOSTNAME already exists: $(grep $HOSTNAME $ETC_HOSTS) ${NC}"
2727
else
2828
echo -e ${GREEN}"Adding $HOSTNAME to your $ETC_HOSTS ${NC}"
29-
sudo -- sh -c -e "echo -e '$HOSTS_LINE' >> /etc/hosts"
29+
sudo -- sh -c -e "echo '$HOSTS_LINE' >> /etc/hosts"
3030

3131
if [ -n "$(grep $HOSTNAME /etc/hosts)" ]; then
3232
echo -e ${GREEN}"$HOSTNAME was added succesfully \n $(grep $HOSTNAME /etc/hosts) ${NC}"

0 commit comments

Comments
 (0)