From 505c15e624b2b57d240aaf720108f0b2560ff541 Mon Sep 17 00:00:00 2001 From: Alan Sikora Date: Sun, 8 Mar 2026 20:46:11 -0300 Subject: [PATCH] Fix field parsing in unmount-fuse hook The read command had an extra _ placeholder that was swallowing the fstype field, causing the fuse.* pattern to never match. --- default/systemd/system-sleep/unmount-fuse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/systemd/system-sleep/unmount-fuse b/default/systemd/system-sleep/unmount-fuse index 6b8654e6..46cd0118 100755 --- a/default/systemd/system-sleep/unmount-fuse +++ b/default/systemd/system-sleep/unmount-fuse @@ -6,7 +6,7 @@ # to silently fail. The FUSE daemons restart automatically on wake. if [[ $1 == "pre" ]]; then - while IFS=' ' read -r _ mountpoint _ fstype _; do + while IFS=' ' read -r _ mountpoint fstype _; do if [[ $fstype == fuse.* ]]; then fusermount3 -uz "$mountpoint" 2>/dev/null || fusermount -uz "$mountpoint" 2>/dev/null || true fi