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 46239f8 commit f7dff35Copy full SHA for f7dff35
virtualhost.sh
@@ -107,7 +107,7 @@ if [ "$action" == 'create' ]
107
then
108
if ! echo "127.0.0.1 $domain" >> /mnt/c/Windows/System32/drivers/etc/hosts
109
110
- echo $"ERROR: Not able to write in /mnt/c/Windows/System32/drivers/etc/hosts"
+ echo $"ERROR: Not able to write in /mnt/c/Windows/System32/drivers/etc/hosts (Hint: Try running Bash as administrator)"
111
else
112
echo -e $"Host added to /mnt/c/Windows/System32/drivers/etc/hosts file \n"
113
fi
0 commit comments