From 8958bea96b5ea9d1b104914b9878aa5bed64f5c1 Mon Sep 17 00:00:00 2001 From: samuel Date: Wed, 10 May 2023 12:59:56 +0200 Subject: [PATCH] [Fix] Replace reserved word deamon with deamonize --- src/deployer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/deployer.sh b/src/deployer.sh index 009e60c..0dcc3c8 100755 --- a/src/deployer.sh +++ b/src/deployer.sh @@ -246,7 +246,7 @@ process_loop() ( main() ( # Parse arguments. - daemon="false" + daemonize="false" keep_open="true" config_file="${DEFAULT_CONFIG_FILE}" errors_file="${DEFAULT_ERRORS_FILE}" @@ -268,7 +268,7 @@ main() ( shift 2 ;; -d | --daemon) - daemon="true" + daemonize="true" shift ;; -e | --errs) @@ -415,7 +415,7 @@ main() ( ) & # Run process loop in background or foreground. - if "${daemon}"; then + if "${daemonize}"; then log_info "Run process loop in background." process_loop & echo "$!" >"${deployer_pid}"