A simple utility to manage Nginx configurations.

Remove sudoers check

-6
-6
nx.sh
··· 12 12 RED=$(tput setaf 1) 13 13 NC=$(tput sgr0) 14 14 15 - # Check for root 16 - if [[ $EUID -ne 0 ]]; then 17 - echo "Please run as root (sudo)" 18 - exit 1 19 - fi 20 - 21 15 case $ACTION in 22 16 list|l) 23 17 # We store the output in a variable to pipe it into 'column' at the end