summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_log.sh
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2014-08-20 20:32:09 +0200
committerJan Wagner <waja@cyconet.org>2014-08-20 20:37:24 +0200
commit3a668c0f87f3ad31f28997ed43b374edf78f6227 (patch)
tree6578424f919711c80eef39dedc2ec23d9a07f70d /plugins-scripts/check_log.sh
parentd4b6d09f104f73c462e0e0c8a297ba9fc7c5a53e (diff)
downloadmonitoring-plugins-3a668c0f87f3ad31f28997ed43b374edf78f6227.tar.gz
Setting PATH at first
Diffstat (limited to 'plugins-scripts/check_log.sh')
-rwxr-xr-xplugins-scripts/check_log.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh
index f67eff69..d28c8d0a 100755
--- a/plugins-scripts/check_log.sh
+++ b/plugins-scripts/check_log.sh
@@ -58,12 +58,11 @@
58# Paths to commands used in this script. These 58# Paths to commands used in this script. These
59# may have to be modified to match your system setup. 59# may have to be modified to match your system setup.
60 60
61PATH="@TRUSTED_PATH@"
62export PATH
61PROGNAME=`basename $0` 63PROGNAME=`basename $0`
62PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` 64PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
63REVISION="@NP_VERSION@" 65REVISION="@NP_VERSION@"
64PATH="@TRUSTED_PATH@"
65
66export PATH
67 66
68. $PROGPATH/utils.sh 67. $PROGPATH/utils.sh
69 68