Skip to content

Commit

Permalink
fixed typo: changed SOFT_MEMLOCK to HARD_MEMLOCK where it was incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
jkstill committed Jul 18, 2016
1 parent eab58f4 commit a5aef6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem_verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ fi
[[ $SOFT_MEMLOCK == 'unlimited' ]] && SOFT_MEMLOCK=$TOTALMEM

HARD_MEMLOCK=$( grep -E '^oracle.*hard.*memlock.*unlimited|^oracle.*hard.*memlock.*[0-9]+' $LIMITS_FILE | awk '{ print $4 }')
if [[ -z $SOFT_MEMLOCK ]]; then
if [[ -z $HARD_MEMLOCK ]]; then
HARD_MEMLOCK=$( grep -E '^\*.*hard.*memlock.*unlimited|^\*.*hard.*memlock.*[0-9]+' $LIMITS_FILE | awk '{ print $4 }')
fi
[[ $HARD_MEMLOCK == 'unlimited' ]] && HARD_MEMLOCK=$TOTALMEM
Expand Down

0 comments on commit a5aef6b

Please sign in to comment.