dns_response - shell fixes; remove pipe in output
Compare changes
+ 8
− 7
@@ -10,10 +10,11 @@
@@ -10,10 +10,11 @@
@@ -26,8 +27,8 @@ if [ $? -ne 0 ]; then
@@ -26,8 +27,8 @@ if [ $? -ne 0 ]; then
@@ -54,7 +55,7 @@ if [ "$1" = "-h" ]; then
@@ -54,7 +55,7 @@ if [ "$1" = "-h" ]; then
@@ -72,7 +73,7 @@ do
@@ -72,7 +73,7 @@ do
iTime=`cat $tmpfile | grep "^real.*m.*\..*s" | cut -f 2 -d "m" | sed "s#[\.s]##g" | sed "s#^0*##g" `
@@ -83,11 +84,11 @@ do
@@ -83,11 +84,11 @@ do
test $iCounter -eq 1 && (echo " ^"; echo " |"; echo " +--- 1st nameserver is relevant for total status of the check. Limits are warning=$iWarnLimit and critical=$iCriticalLimit") >>$infofile