From 511b9ac9df75ad50b6257b7c8cf4c270d82bf7fb Mon Sep 17 00:00:00 2001 From: Tranko <37229415+thorkseng@users.noreply.github.com> Date: Tue, 4 Jan 2022 11:26:38 +0000 Subject: [PATCH] Fixing typos Fixing typos of Bash scripting. --- bootstrap | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bootstrap b/bootstrap index 5b084ee..4c20573 100644 --- a/bootstrap +++ b/bootstrap @@ -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