[Fix] Replace reserved word deamon with deamonize

This commit is contained in:
samuel 2023-05-10 12:59:56 +02:00
parent e0c2fa89de
commit 8958bea96b
1 changed files with 3 additions and 3 deletions

View File

@ -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}"