diff -r 37f217a8bcce -r 65656789da08 security.d/chk_sensors --- a/security.d/chk_sensors Mon Feb 18 19:47:24 2013 +0100 +++ b/security.d/chk_sensors Wed May 22 13:46:49 2013 +0200 @@ -1,12 +1,9 @@ #!/bin/bash # ############################################################################# -# Copyright (C) 2005-2012 +# Copyright (C) 2005-2013 # -# Michiel Broek -# Beekmansbos 10 -# 1971 BV IJmuiden -# the Netherlands +# Michiel Broek # # This file is part of SlackSecCheckScripts. # @@ -44,8 +41,8 @@ if [ -x /usr/bin/sensors ]; then if [ ! -n "$(sensors -s 2>&1)" ]; then result=`sensors 2>&1` - echo "$result" if echo "$result" |grep -q "ALARM"; then + echo "$result" echo "" echo "** WARNING: One or more sensors show ALARM! **" fi