Fix a bug for check_param_pair_by_pam method.
This commit is contained in:
parent
c887516d36
commit
4cb0418af7
|
@ -603,6 +603,9 @@ check_param_pair_by_pam()
|
||||||
if [ "$cndt_value" "-$COMPARE" "$CONDITION" ]; then
|
if [ "$cndt_value" "-$COMPARE" "$CONDITION" ]; then
|
||||||
debug "$cndt_value -$COMPARE $CONDITION is ok"
|
debug "$cndt_value -$COMPARE $CONDITION is ok"
|
||||||
FNRET=0
|
FNRET=0
|
||||||
|
elif [ "$cndt_value" -eq 0 ]; then
|
||||||
|
debug "$cndt_value -eq 0, is not ok"
|
||||||
|
FNRET=5
|
||||||
else
|
else
|
||||||
debug "$cndt_value -$COMPARE $CONDITION is not ok"
|
debug "$cndt_value -$COMPARE $CONDITION is not ok"
|
||||||
FNRET=5
|
FNRET=5
|
||||||
|
|
Loading…
Reference in New Issue