V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 59s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 59s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -25,7 +25,7 @@ guard_sourcing
|
|||||||
# 42: On sorting Error.
|
# 42: On sorting Error.
|
||||||
#######################################
|
#######################################
|
||||||
check_kernel() {
|
check_kernel() {
|
||||||
declare -i counter=1
|
declare -i counter=1 rc=0
|
||||||
declare first_string="" line="" name="" options="" var_cpu_vendor="" var_system_architecture=""
|
declare first_string="" line="" name="" options="" var_cpu_vendor="" var_system_architecture=""
|
||||||
|
|
||||||
# shellcheck disable=SC2312
|
# shellcheck disable=SC2312
|
||||||
@@ -93,13 +93,15 @@ EOF
|
|||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
if (( "$?" == 1 )); then
|
rc=$?
|
||||||
|
|
||||||
|
if (( "${rc}" == 1 )); then
|
||||||
|
|
||||||
clear
|
clear
|
||||||
VAR_KERNEL=""
|
VAR_KERNEL=""
|
||||||
break
|
break
|
||||||
|
|
||||||
elif (( "$?" == 2 )); then
|
elif (( "${rc}" == 2 )); then
|
||||||
|
|
||||||
clear
|
clear
|
||||||
dialog --no-collapse \
|
dialog --no-collapse \
|
||||||
|
|||||||
Reference in New Issue
Block a user