diff --git a/plugins/system/check-fstab-mounts.rb b/plugins/system/check-fstab-mounts.rb index 1af954cb7..c583af3b9 100755 --- a/plugins/system/check-fstab-mounts.rb +++ b/plugins/system/check-fstab-mounts.rb @@ -35,7 +35,7 @@ def check_mounts @fstab.each do |line| next if line =~ /^\s*#/ fields = line.split(/\s+/) - next if fields[1] == 'none' + next if fields[1] == 'none' || (fields[3].include? 'noauto') next if config[:fstypes] && !config[:fstypes].include?(fields[2]) if @proc_mounts.select {|m| m.split(/\s+/)[1] == fields[1]}.empty? @missing_mounts << fields[1]