delete line as it caused bug

pull/1385/head
Gurkirat Singh 2019-06-08 03:17:39 +05:30
parent 989c8e1965
commit 0e19138fa1
1 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ function ___hosts_remove {
echo "Removed \""$ENTRY"\" from hosts file" echo "Removed \""$ENTRY"\" from hosts file"
else else
echo "Host "$1" not found" echo "Host "$1" not found"
exit 1
fi fi
} }
@ -66,7 +66,7 @@ function hosts {
if [[ $? == 0 ]] if [[ $? == 0 ]]
then then
___hosts_help ___hosts_help
exit 1
else else
___hosts_add $2 $3 ___hosts_add $2 $3
fi fi
@ -79,7 +79,7 @@ function hosts {
if [[ $? == 0 ]] if [[ $? == 0 ]]
then then
___hosts_help ___hosts_help
exit 1
else else
___hosts_remove $2 ___hosts_remove $2
fi fi