summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-15 18:43:22 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-15 18:43:22 +0000
commit02e9a4d98867e5cfb3e397b0e07a2684c9c0f625 (patch)
tree4322a186080103b8be10aeeea2fd4be99160fdf6 /bin
parentcf388006fcb726a0a9edf45bec2ff0776850223b (diff)
downloaddrakguard-02e9a4d98867e5cfb3e397b0e07a2684c9c0f625.tar
drakguard-02e9a4d98867e5cfb3e397b0e07a2684c9c0f625.tar.gz
drakguard-02e9a4d98867e5cfb3e397b0e07a2684c9c0f625.tar.bz2
drakguard-02e9a4d98867e5cfb3e397b0e07a2684c9c0f625.tar.xz
drakguard-02e9a4d98867e5cfb3e397b0e07a2684c9c0f625.zip
ignore comments in /etc/fstab (mga#9195)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakguard2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 8908865..412137d 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -294,7 +294,7 @@ gtkadd($w->{window},
);
$w->show;
-if (grep { $_ && !/acl/ } chomp_(cat_($fstab_file)) && grep { $_ && m/ext/ } chomp_(cat_($fstab_file))) {
+if (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) {