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:
parent
0143aa55fe
commit
61aea770de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user