Skip to content

Commit c2d3fa2

Browse files
authored
Merge pull request #15 from openSUSE/__
Fix plugins/btrfs-subvolumes-mounted.sh for / (boo#1215368)
2 parents ea8850a + 1bcd150 commit c2d3fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/btrfs-subvolumes-mounted.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run_checks() {
44
MOUNTS=$(findmnt --types btrfs --options subvol --fstab --output target --raw --noheadings)
55
for i in ${MOUNTS}; do
66
path=$(systemd-escape -p -- "$(echo -e ${i})")
7-
systemctl is-failed -q "${path}.mount"
7+
systemctl is-failed -q -- "${path}.mount"
88
test $? -ne 1 && exit 1
99
done
1010
}

0 commit comments

Comments
 (0)