backslashes.shellcheckSC2162

Signed-off-by: Tealk <tealk@rollenspiel.monster>
This commit is contained in:
Tealk 2023-10-06 16:32:56 +02:00
parent c59a7d7b37
commit fa316483fa
No known key found for this signature in database
GPG key ID: 5FE349ABC863E7F9

View file

@ -143,7 +143,7 @@ function update_snap() {
# Return value: None # Return value: None
function cleanup_snap() { function cleanup_snap() {
LANG=C snap list --all | awk '/disabled/{print $1, $3}' | 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" snap remove "$snapname" --revision="$revision"
done done
} }