We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea8850a + 1bcd150 commit c2d3fa2Copy full SHA for c2d3fa2
plugins/btrfs-subvolumes-mounted.sh
@@ -4,7 +4,7 @@ run_checks() {
4
MOUNTS=$(findmnt --types btrfs --options subvol --fstab --output target --raw --noheadings)
5
for i in ${MOUNTS}; do
6
path=$(systemd-escape -p -- "$(echo -e ${i})")
7
- systemctl is-failed -q "${path}.mount"
+ systemctl is-failed -q -- "${path}.mount"
8
test $? -ne 1 && exit 1
9
done
10
}
0 commit comments