We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d77e44 commit 4e5571bCopy full SHA for 4e5571b
cli/setup-hosts-file.sh
@@ -26,7 +26,7 @@ if [ ${QUESTION} == "a" ]; then
26
echo -e ${YELLOW}"$HOSTNAME already exists: $(grep $HOSTNAME $ETC_HOSTS) ${NC}"
27
else
28
echo -e ${GREEN}"Adding $HOSTNAME to your $ETC_HOSTS ${NC}"
29
- sudo -- sh -c -e "echo -e '$HOSTS_LINE' >> /etc/hosts"
+ sudo -- sh -c -e "echo '$HOSTS_LINE' >> /etc/hosts"
30
31
if [ -n "$(grep $HOSTNAME /etc/hosts)" ]; then
32
echo -e ${GREEN}"$HOSTNAME was added succesfully \n $(grep $HOSTNAME /etc/hosts) ${NC}"
0 commit comments