]> gitweb.fluxo.info Git - scripts.git/commitdiff
Fix: collector: be a bit less verbose
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 5 Aug 2023 16:11:40 +0000 (13:11 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 5 Aug 2023 16:11:40 +0000 (13:11 -0300)
collector

index aba470e1cd8f8ec153d23c4f890c4ab1ebf17f0f..5967e523dcb41a19fe18ad8ffedc82af070aacb1 100755 (executable)
--- a/collector
+++ b/collector
@@ -12,7 +12,10 @@ ACTION="$1"
 
 # Check
 if [ -z "$COLLECTOR_FILE" ]; then
-  echo "$BASENAME: please export the COLLECTOR_FILE environment variable pointing to your collector markdown file"
+  # Do not be verbose here, otherwise the "status" command will show an error
+  # message on unconfgirued systems. Maybe that should be controlled by a verbosity flag.
+  #echo "$BASENAME: please export the COLLECTOR_FILE environment variable pointing to your collector markdown file"
+
   exit 1
 elif [ ! -e "$COLLECTOR_FILE" ]; then
   echo "$BASENAME: error: file not found: $COLLECTOR_FILE"