diff --git a/update.sh b/update.sh index bc261ef..f18b86c 100755 --- a/update.sh +++ b/update.sh @@ -143,7 +143,7 @@ function update_snap() { # Return value: None function cleanup_snap() { LANG=C snap list --all | awk '/disabled/{print $1, $3}' | - while read snapname revision; do + while read -r snapname revision; do snap remove "$snapname" --revision="$revision" done }