Update checkmount.lua [Clean up code]
Merge pull request #40 from Jonas21/patch-6

Update checkmount.lua [Clean up code]