Skip to content

Commit

Permalink
Merge pull request #77 from KAPPAsper/master
Browse files Browse the repository at this point in the history
add type none for bind mount checks.
  • Loading branch information
KrisBuytaert authored Sep 1, 2021
2 parents 2ccb9eb + 6f80e07 commit ae326cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions check_mount.pl
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ sub how_to
print $MOUNT . " is mounted! Type is " . $TYPE . "\n";
exit $ERRORS{'OK'};
}
elsif ($TYPE eq 'none')
{
print $MOUNT . " is mounted! Type is " . $TYPE . "\n";
exit $ERRORS{'OK'};
}
else
{
print $MOUNT . " is mounted! But type is not " . $TYPE . "\n";
Expand Down

0 comments on commit ae326cf

Please sign in to comment.