diff --git a/setup.sh b/setup.sh index e2934ad..3fd6a87 100644 --- a/setup.sh +++ b/setup.sh @@ -15,7 +15,7 @@ EOF ln ./nanorc /etc/nanorc -if [ "$1" != null ] ; then +if [ "$1" != "" ] ; then rm /etc/sudoers.d/user echo "$1 ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/user fi