diff -Nur e-smith-backup-2.4.0.old8502/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.4.0.bz8502/root/etc/e-smith/events/actions/workstation-backup-dar --- e-smith-backup-2.4.0.old8502/root/etc/e-smith/events/actions/workstation-backup-dar 2015-02-02 19:24:27.861590554 +0100 +++ e-smith-backup-2.4.0.bz8502/root/etc/e-smith/events/actions/workstation-backup-dar 2015-02-02 19:26:58.768976468 +0100 @@ -307,7 +307,18 @@ { # check if $mountdir is mounted my $mountdir = shift; - return system("/bin/mountpoint", "-q", "$mountdir"); + $|=1; # Auto-flush + + # copy STDOUT to another filehandle + open (my $STDOLD, '>&', STDOUT); + + open(STDOUT, ">/dev/null"); + if ( open(MOUNTDIR, "|-", "/bin/findmnt", $mountdir)){;} + + # restore STDOUT + open (STDOUT, '>&', $STDOLD); + + return (!close(MOUNTDIR)); } diff -Nur e-smith-backup-2.4.0.old8502/root/etc/e-smith/web/functions/backup e-smith-backup-2.4.0.bz8502/root/etc/e-smith/web/functions/backup --- e-smith-backup-2.4.0.old8502/root/etc/e-smith/web/functions/backup 2015-02-02 19:24:27.866589561 +0100 +++ e-smith-backup-2.4.0.bz8502/root/etc/e-smith/web/functions/backup 2015-02-02 19:29:26.232145517 +0100 @@ -3123,7 +3123,18 @@ { # check if $mountdir is mounted my $mountdir = shift; - return system("/bin/mountpoint", "-q", "$mountdir"); + $|=1; # Auto-flush + + # copy STDOUT to another filehandle + open (my $STDOLD, '>&', STDOUT); + + open(STDOUT, ">/dev/null"); + if ( open(MOUNTDIR, "|-", "/bin/findmnt", $mountdir)){;} + + # restore STDOUT + open (STDOUT, '>&', $STDOLD); + + return (!close(MOUNTDIR)); } sub bmount