RAID.tst: use screen(1) so that promiseutil(8) has a valid tty
[nagcollect.git] / client / bin / nagcollecttest
index e31644fccd4a56b09124bb3af7b79658032fe467..4bcba08f81923d29c0e145d12ac5a1e834516153 100755 (executable)
@@ -34,6 +34,9 @@ fi
 SERVICE=""; STATUS=""; TEXT=""
 echo "Checking \"$tst\" ..."
 . "$tst"
-echo "RESULT: $SERVICE=$STATUS \"$TEXT\""
+
+[ -n "$STATUS" -o -n "$TEXT" ] \
+       && echo "RESULT: $SERVICE=$STATUS \"$TEXT\"" \
+       || echo "NO result ..."
 
 # -eof-