We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1dd28d commit d0a9c8fCopy full SHA for d0a9c8f
ctbcap
@@ -202,8 +202,7 @@ genesis_juicer() {
202
203
[ "${CUT_TIME}" = 0 ] && CUT_TIME="" || {
204
local _CUT_TIME="$(echo "${CUT_TIME}" | head -n 1 | grep -oE '^[0-9]+$')"
205
- local _CUT_TIME="$(printf %d "${_CUT_TIME}" 2>/dev/null)"
206
- [ "${_CUT_TIME}" = 0 ] && {
+ printf %d "${_CUT_TIME}" >/dev/null 2>&1 || {
207
echo "(ERROR) Cut Time Must be Some INT Number! [${CUT_TIME}]" >&2
208
return 1
209
}
0 commit comments