Add optional block_start parameter to check mode

This commit is contained in:
Joe Uhren
2021-11-21 19:15:42 -07:00
parent e5e1887401
commit f0908fd176
3 changed files with 29 additions and 4 deletions
+12
View File
@@ -13,6 +13,12 @@ if [ -n "${1}" ]; then
"check")
# Index check
MODE="index check"
# Check if the next parameter exists
if [ -n "${2}" ]; then
# Add onto the check cmd
MODE="${MODE} ${2}"
fi
;;
"reindex")
# Index reindex
@@ -63,6 +69,12 @@ if [ -n "${1}" ]; then
"check")
# Index check
MODE="index check"
# Check if the next parameter exists
if [ -n "${3}" ]; then
# Add onto the check cmd
MODE="${MODE} ${3}"
fi
;;
"reindex")
# Index reindex