Skip to content

Commit 8636fe7

Browse files
committed
[fix] : Fixed mount function
1 parent cec81ea commit 8636fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ _usage () {
169169
_umount() { if mountpoint -q "${1}"; then umount -lf "${1}"; fi; }
170170

171171
# Mount helper Usage: _mount <source> <target>
172-
_mount() { ! mountpoint -q "${2}" && [[ -f "${1}" ]] && [[ -d "${2}" ]] && mount "${1}" "${2}"; }
172+
_mount() { ! mountpoint -q "${2}" && [[ -f "${1}" ]] && [[ -d "${2}" ]] && mount "${1}" "${2}"; return 0; }
173173

174174
# Unmount work dir
175175
umount_work () {

0 commit comments

Comments
 (0)