Fixing typos

Fixing typos of Bash scripting.
This commit is contained in:
Tranko 2022-01-04 11:26:38 +00:00 committed by GitHub
parent 1d97bd0337
commit 511b9ac9df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -47,13 +47,10 @@ getparams() {
else
params="$params -password ${PASSWORD}"
fi
## Checking the final parameters to use:
echo "Final Valheim parameters to run: $params"
}
# Main function
main($params) {
main() {
# Basic export for the BOX64 emulator
echo "##############################"
echo "Basic variables running box64:"
@ -71,9 +68,12 @@ main($params) {
# Move to the execution folder
cd /root/valheim_server
## Checking the final parameters to use:
echo "Final Valheim parameters to run: $params"
# Starting the server:
box64 ./valheim_server.x86_64 $params
box64 ./valheim_server.x86_64 $1
}
$params=getparams
main(params)
getparams
main $params