mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-05 22:55:17 +01:00
hardcoded path removed from check_kerb.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user