diff --git a/rtinst.sh b/rtinst.sh index 834ab53..077959f 100644 --- a/rtinst.sh +++ b/rtinst.sh @@ -687,7 +687,7 @@ chown -R $user:$user $home cd $home -if [ -z "$(grep "ALL ALL = NOPASSWD: /usr/local/bin/rtsetpass" /etc/sudoers)" ]$ +if [ -z "$(grep "ALL ALL = NOPASSWD: /usr/local/bin/rtsetpass" /etc/sudoers)" ]; then echo "ALL ALL = NOPASSWD: /usr/local/bin/rtsetpass" | (EDITOR="tee -a" visudo) fi