source loag_helpers only once
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# set -x
|
||||
|
||||
if [ ${log_helpers_sourced:-1} = "1" ]; then # include ony once
|
||||
if [ "${log_helpers_sourced:-1}" = "1" ]; then # include only once
|
||||
readonly log_helpers_sourced=${BASH_SOURCE[0]}
|
||||
|
||||
readonly log_file=/var/log/update_controller.log
|
||||
|
Reference in New Issue
Block a user