source loag_helpers only once
This commit is contained in:
parent
2454b86e5e
commit
181af67033
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# set -x
|
# 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_helpers_sourced=${BASH_SOURCE[0]}
|
||||||
|
|
||||||
readonly log_file=/var/log/update_controller.log
|
readonly log_file=/var/log/update_controller.log
|
||||||
|
Loading…
Reference in New Issue
Block a user