We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3be117 commit 1576098Copy full SHA for 1576098
tools/umount.sh
@@ -76,7 +76,7 @@ umount_work () {
76
fi
77
[[ ! -d "${target_dir}" ]] && return 0
78
while read -r _mount; do
79
- if echo "${_mount}" | grep "${target_dir}" > /dev/null 2>&1 || "${force}" = true; then
+ if echo "${_mount}" | grep "${target_dir}" > /dev/null 2>&1 || [[ "${force}" = true ]]; then
80
if mountpoint -q "${_mount}"; then
81
msg_info "Unmounting ${_mount}"
82
_umount "${_mount}" 2> /dev/null
0 commit comments