V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -68,6 +68,7 @@ arg_parser() {
|
||||
|
||||
--renice-priority)
|
||||
if [[ -n ${2-} && ${2} =~ ^-?[0-9]+$ && ${2} -ge -19 && ${2} -le 19 ]]; then
|
||||
# shellcheck disable=SC2034
|
||||
VAR_PRIORITY="${2}"
|
||||
shift 2
|
||||
else
|
||||
@@ -80,6 +81,7 @@ arg_parser() {
|
||||
arg_mismatch "--reionice-priority no values provided."
|
||||
else
|
||||
if [[ "${2}" =~ ^[1-3]$ ]]; then
|
||||
# shellcheck disable=SC2034
|
||||
VAR_REIONICE_CLASS="${2}"
|
||||
if [[ -z "${3-}" ]]; then
|
||||
:
|
||||
|
||||
Reference in New Issue
Block a user