Skip to content

Commit 9772517

Browse files
committed
[fix] : Fixed SC2199
1 parent 90d0291 commit 9772517

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alterlinux-gtk-bookmarks/alterlinux-gtk-bookmarks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ mode="${1}"
137137
case "${1}" in
138138
add)
139139
shift 1
140-
if [[ -z "${@}" ]]; then
140+
if [[ -z "${*}" ]]; then
141141
_msg_error "Please specify a directory."
142142
exit 1
143143
else

alterlinux-plasma-bookmarks/alterlinux-plasma-bookmarks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ mode="${1}"
133133
case "${1}" in
134134
add)
135135
shift 1
136-
if [[ -z "${@}" ]]; then
136+
if [[ -z "${*}" ]]; then
137137
_msg_error "Please specify a directory."
138138
exit 1
139139
else

0 commit comments

Comments
 (0)