fix: help_message function placement

More functions not in correct position, but only this inside something
else
- To the rest we will get later.
This commit is contained in:
zen0bit 2024-04-16 17:30:35 +02:00 committed by Martin Wimpress
parent 4f886f7c80
commit 9b5593749b
1 changed files with 2 additions and 2 deletions

View File

@ -3846,6 +3846,8 @@ if [[ ! " $(os_support) " =~ " ${OS} " ]]; then
echo -e "ERROR! ${OS} is not a supported OS.\n"
os_support
exit 1
fi
help_message() {
#shellcheck disable=SC2016
printf ' _ _
@ -3893,8 +3895,6 @@ supported Operating Systems:\n' "$(quickemu --version)" "$(qemu-x86_64 -version
exit 0
}
fi
if [ -n "${2}" ]; then
RELEASE="${2,,}"
VM_PATH="${OS}-${RELEASE}"