Skip to content

Commit

Permalink
better regexp for quota detection
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Aug 25, 2015
1 parent 9f19e9b commit 1ab5ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/storage/used_storage_features.rb
Expand Up @@ -248,7 +248,7 @@ def collect_volume_features(vol)
feature_check(features, "Root FS", name) { root_btrfs?(vol) ? :FT_BTRFS_ROOT : nil }

feature_check(features, "Volume", name, "quota") do
vol.fstab_options.match(/quota/i) ? :FT_QUOTA : nil
vol.fstab_options.match(/(usr|grp)j?quota/i) ? :FT_QUOTA : nil
end
end

Expand Down

0 comments on commit 1ab5ad6

Please sign in to comment.