@ -2,7 +2,8 @@
function ee_mod_site_edit()
{
grep vim ~/.selected_editor &>> $EE_COMMAND_LOG
# Redirect VIM warning to /dev/null
sensible-editor --help | head -n1 | grep VIM &>> $EE_COMMAND_LOG
if [ $? -eq 0 ]; then
sensible-editor /etc/nginx/sites-available/$EE_DOMAIN $1 2> /dev/null
else