From 76d8ffc43bc2d9ebae9311185a9c6613db7860f3 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 20 Dec 2010 12:48:52 +0100 Subject: [PATCH] extra hd: fix mountpoint check. --- html/cgi-bin/extrahd.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/extrahd.cgi b/html/cgi-bin/extrahd.cgi index b9f42abe96..2ea4178865 100644 --- a/html/cgi-bin/extrahd.cgi +++ b/html/cgi-bin/extrahd.cgi @@ -139,7 +139,7 @@ END { @deviceline = split( /\;/, $deviceentry ); my $color="$Header::colourred"; - if ( `/bin/mountpoint $deviceline[2]` ) { + if ( ! `/bin/mountpoint $deviceline[2] | grep " not "` ) { $color=$Header::colourgreen; } print <