delete line as it caused bug
parent
989c8e1965
commit
0e19138fa1
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue