mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 10:23:46 +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
|
exit 3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OUT=`echo $KRBPASS | /usr/kerberos/bin/kinit "$KRBUSER" 2>&1`
|
OUT=`echo $KRBPASS | kinit "$KRBUSER" 2>&1`
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
echo "Unable to initiate kerberos session: $OUT"
|
echo "Unable to initiate kerberos session: $OUT"
|
||||||
exit 2
|
exit 2
|
||||||
|
Loading…
Reference in New Issue
Block a user