Not running correctly on Ubuntu (which is binary-compatible to debian)

Hello,

I just tested this plugin and I have to say: this script does not what it should do (on Ubuntu 12.04)

I have a mountpoint, say /media/user/share which is defined in /etc/fstab. I ran the plugin as root and it said: “OK: all mounts were found (/media/user/share)”.

Then I unmounted this share from the client,re-ran the plugin and it still claimed to be mounted: “OK: all mounts were found ( /media/user/share)”.

Since Ubuntu is binary-compatibel to Debian I do really wonder why this script/plugin gives totaly wrong information (moreover, Ubuntu also uses /proc/mounts and /etc/fstab).

To put it in a nutshell: I can’t blame Ubuntu for the wrong result of this plugin. I wonder how that can be, since it was updated some weeks ago 🙁

I will use /bin/bash -x to see if I can “debug” this script (maybe just a wrong loop logic) but consider this the reason for a low rating.

Without the bug I see on Ubuntu this would be a great plugin!