diff options
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 + |