1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 01:53:44 +01:00

hardcoded path removed from check_kerb.sh

This commit is contained in:
root 2012-02-01 11:11:47 +00:00
parent 0143aa55fe
commit 61aea770de

View File

@ -24,7 +24,7 @@ if [ -z $KRBPASS ]; then
exit 3
fi
OUT=`echo $KRBPASS | /usr/kerberos/bin/kinit "$KRBUSER" 2>&1`
OUT=`echo $KRBPASS | kinit "$KRBUSER" 2>&1`
if [ $? -gt 0 ]; then
echo "Unable to initiate kerberos session: $OUT"
exit 2