aboutsummaryrefslogtreecommitdiff
path: root/collector
diff options
context:
space:
mode:
Diffstat (limited to 'collector')
-rwxr-xr-xcollector5
1 files changed, 4 insertions, 1 deletions
diff --git a/collector b/collector
index aba470e..5967e52 100755
--- 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"