source loag_helpers only once
This commit is contained in:
parent
2454b86e5e
commit
181af67033
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user