From 78b533dcec34cb48a40bc9be7d01a16f91b4fa09 Mon Sep 17 00:00:00 2001 From: Derek Jennings Date: Fri, 5 Jul 2013 12:36:48 +0000 Subject: fix acl enabled test (mga#9195) --- bin/drakguard | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/drakguard b/bin/drakguard index 5be4409..42f8e90 100755 --- a/bin/drakguard +++ b/bin/drakguard @@ -314,10 +314,10 @@ if (cat_('/boot/config') =~ /_FS_POSIX_ACL=y/ && grep { $_ && !/acl/ && !/^#/ & } else { my @mount = `mount`; - if (grep { /,acl/ } @mount) { - $acl_active = 1; + if (grep { !/,acl/ && m/ext[23]|reiserfs/ } @mount) { + $in->ask_warn(N("Warning"), N("The support for Access Control Lists, required by the Block programs feature, is enabled, but not yet activated.") . N("It is necessary to restart your computer to activate it."), $acl_active = 0); } else { - $in->ask_warn(N("Warning"), N("The support for Access Control Lists, required by the Block programs feature, is enabled, but not yet activated.") . N("It is necessary to restart your computer to activate it."), $acl_active = 0) } + $acl_active = 1 } } update_time_change(); Gtk2->main; -- cgit v1.2.1