Skip to content

Commit 76185e2

Browse files
committed
Import custom_printlog-function first
1 parent 59acb24 commit 76185e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,8 @@ if [ -f "${CONFIG_FILE}" ]; then
636636
[ -v RESTART_ONFAILURE_ONLY ] && declare -p RESTART_ONFAILURE_ONLY 2>/dev/null
637637
[ -v NOT_RECOMMEND_FORCE_RUN ] && declare -p NOT_RECOMMEND_FORCE_RUN 2>/dev/null
638638
[ -v ENABLE_USERDEFINED_STOP ] && declare -p ENABLE_USERDEFINED_STOP 2>/dev/null
639-
[ "$(type -t userdefined_stop)" == "function" ] && declare -f userdefined_stop 2>/dev/null
640-
[ "$(type -t custom_printlog)" == "function" ] && declare -f custom_printlog 2>/dev/null`"
639+
[ "$(type -t custom_printlog)" == "function" ] && declare -f custom_printlog 2>/dev/null
640+
[ "$(type -t userdefined_stop)" == "function" ] && declare -f userdefined_stop 2>/dev/null`"
641641
fi
642642

643643
# Check for Dependencies

0 commit comments

Comments
 (0)