Fix upgrade script which had a wrong variabe which was left over from a refactoring
This commit is contained in:
parent
26f117b05e
commit
d107424a0c
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ for subdir in "$LOCK_ROOT"/*/; do
|
||||||
subdir_name=${subdir%"${subdir##*[!/]}"}
|
subdir_name=${subdir%"${subdir##*[!/]}"}
|
||||||
subdir_name=${subdir_name##*/}
|
subdir_name=${subdir_name##*/}
|
||||||
|
|
||||||
if [[ $subdir_name =~ ^[0-9]+$ ]] && ((subdir_name > highest_num)); then
|
if [[ $subdir_name =~ ^[0-9]+$ ]] && ((subdir_name > latest_lock)); then
|
||||||
latest_lock=$subdir_name
|
latest_lock=$subdir_name
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue