Skip to content

Commit 978194c

Browse files
committed
[fix] : FIxed unbound variable
1 parent dbffde7 commit 978194c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/msg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ done
246246
# 7 => Reverse video on (色反転)
247247
# 8 => Concealed on
248248

249-
case "${1}" in
249+
case "${1-""}" in
250250
"info")
251251
msg_type="type"
252252
[[ "${customized_output}" = false ]] && output="stdout"

0 commit comments

Comments
 (0)