summaryrefslogtreecommitdiffstats
path: root/bin/drakguard
diff options
context:
space:
mode:
Diffstat (limited to 'bin/drakguard')
-rwxr-xr-xbin/drakguard2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/drakguard b/bin/drakguard
index f64a9b2..b4f9a2a 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -296,7 +296,7 @@ gtkadd($w->{window},
$w->show;
# FIXME: bogus check: if ACLs are disabled everywhere but in /unused/path, it's OK...
-if (grep { $_ && !/acl/ } chomp_(cat_($fstab_file)) && grep { $_ && !/^#/ && m/ext/ } chomp_(cat_($fstab_file))) {
+if (cat_('/boot/config') =~ /_FS_POSIX_ACL=y/ || grep { $_ && !/acl/ } chomp_(cat_($fstab_file)) && grep { $_ && !/^#/ && m/ext/ } chomp_(cat_($fstab_file))) {
$acl_active = 1;
$in->ask_yesorno(N("Warning"), N("The support for Access Control Lists must be enabled in order to use the Block programs feature.\nDo you want to enable it now?", $acl_active = 1)) or $acl_active = 0;
if ($acl_active) {