diff --git a/bin/update b/bin/update index 4fd2a22..9b82de7 100755 --- a/bin/update +++ b/bin/update @@ -190,7 +190,7 @@ update-system() { fi command -v snap > /dev/null 2>&1 - if [ $? -*eq 0 ]; then + if [ $? -eq 0 ]; then echo $password | sudo -Sp "" snap refresh fi