fix /etc/hosts editing

This commit is contained in:
Matthias Kretschmann 2019-10-09 10:36:01 +02:00 committed by GitHub
parent 79ae34d190
commit b0ca03763f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ export LOCAL_GROUP_ID=$(id -g)
if grep -q "aquarius" /etc/hosts; then
echo "aquarius exists"
else
sudo echo "127.0.0.1 aquarius" >> /etc/hosts;
echo "127.0.0.1 aquarius" | sudo tee -a /etc/hosts
fi