File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ _init_debug_log()
9
9
DEBUG_LOG_FILE=' '
10
10
11
11
if command 1> /dev/null -v ' getprop' && test " $( getprop ' zip.common.DEBUG_LOG' ' 0' || :) " = 1; then
12
- if test -d " ${TMPDIR:-/ tmp} " && DEBUG_LOG_FILE=" ${TMPDIR:-/ tmp} /debug-a5k.log" && touch " ${DEBUG_LOG_FILE:? } " ; then DEBUG_LOG=1; fi
12
+ if test -d " ${TMPDIR:-/ tmp} " && DEBUG_LOG_FILE=" ${TMPDIR:-/ tmp} /debug-a5k.log" ; then : ; else test -d ' /postinstall/tmp' && DEBUG_LOG_FILE=' /postinstall/tmp/debug-a5k.log' ; fi
13
+ if test -n " ${DEBUG_LOG_FILE?} " && touch " ${DEBUG_LOG_FILE:? } " ; then DEBUG_LOG=1; fi
13
14
fi
14
15
}
15
16
@@ -24,6 +25,7 @@ _display_msg()
24
25
command . /tmp/backuptool.functions || {
25
26
_init_debug_log
26
27
_display_msg 1>&2 ' ERROR: Failed to source backuptool.functions'
28
+ # shellcheck disable=SC2317
27
29
return 9 || exit 9
28
30
}
29
31
You can’t perform that action at this time.
0 commit comments