Skip to content

Commit 1576098

Browse files
committed
[fix] : Fixed SC2283
1 parent c3be117 commit 1576098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/umount.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ umount_work () {
7676
fi
7777
[[ ! -d "${target_dir}" ]] && return 0
7878
while read -r _mount; do
79-
if echo "${_mount}" | grep "${target_dir}" > /dev/null 2>&1 || "${force}" = true; then
79+
if echo "${_mount}" | grep "${target_dir}" > /dev/null 2>&1 || [[ "${force}" = true ]]; then
8080
if mountpoint -q "${_mount}"; then
8181
msg_info "Unmounting ${_mount}"
8282
_umount "${_mount}" 2> /dev/null

0 commit comments

Comments
 (0)