Project

General

Profile

« Previous | Next » 

Revision 157035bd

Added by Benoît PECCATTE almost 7 years ago

Fixes #10771: check-rudder-agent doesn't purge the lmdb file when run via cron

View differences:

rudder-agent/SOURCES/check-rudder-agent
# Source /etc/profile to gather environment variables from the system and the user
. /etc/profile
# /etc/profile may contain some errors and sourcing it would lead to abort
# the execution of check-rudder-agent. Then, the use of "set -e" should be
# after the sourcing.
set -e
# Do not use set -e in the check script, otherwise a failing action may prevent repairing the problem
#set -e
# Ensure our PATH includes Rudder's bin dir (for uuidgen on AIX in particular)
export PATH=/opt/rudder/bin/:$PATH

Also available in: Unified diff