summaryrefslogtreecommitdiff
path: root/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-05-09 20:50:14 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-05-22 23:00:14 -0400
commitfebeaa215ca229c3999f34cec3d881873959f6d7 (patch)
tree0f40dc939dbbccb98cd91b88f8d81637af95b423 /nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
parent3deb50644f2748d64bc11fb73fd5b4063a56f446 (diff)
[opentmpfiles]: bugfix chattr patch
Diffstat (limited to 'nonsystemd/opentmpfiles/chattr-ignore-nocow.patch')
-rw-r--r--nonsystemd/opentmpfiles/chattr-ignore-nocow.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch b/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
index c3aa84d9c..3233d1c20 100644
--- a/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
+++ b/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
@@ -10,7 +10,7 @@ diff a/tmpfiles.sh b/tmpfiles.sh
+ local fs_type
+ case $attr in
+ [+-=]C) fs_type="$(df --output=fstype "$3" | tail --lines=1)"
-+ test "$fstype" == 'btrfs' || return 0
++ test "$fs_type" = 'btrfs' || return 0
+ ;;
+ esac
+