Skip to content

Commit 47ebbbc

Browse files
authored
Merge pull request #535 from grooverdan/snap
skip snap filesystems
2 parents 22789d1 + 59ce37b commit 47ebbbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysqltuner.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ sub get_fs_info {
14901490
$v;
14911491
} @sinfo;
14921492
foreach my $info (@sinfo) {
1493-
next if $info =~ m{(\d+)\t/(run|dev|sys|proc)($|/)};
1493+
next if $info =~ m{(\d+)\t/(run|dev|sys|proc|snap)($|/)};
14941494
if ( $info =~ /(\d+)\t(.*)/ ) {
14951495
if ( $1 > 85 ) {
14961496
badprint "mount point $2 is using $1 % total space";

0 commit comments

Comments
 (0)