diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-05-09 20:50:14 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2021-05-22 23:00:14 -0400 |
commit | febeaa215ca229c3999f34cec3d881873959f6d7 (patch) | |
tree | 0f40dc939dbbccb98cd91b88f8d81637af95b423 /nonsystemd/opentmpfiles/chattr-ignore-nocow.patch | |
parent | 3deb50644f2748d64bc11fb73fd5b4063a56f446 (diff) |
[opentmpfiles]: bugfix chattr patch
Diffstat (limited to 'nonsystemd/opentmpfiles/chattr-ignore-nocow.patch')
-rw-r--r-- | nonsystemd/opentmpfiles/chattr-ignore-nocow.patch | 2 |
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 + |