Fix typo at /var/log/automount.log error message.
This commit is contained in:
parent
2581bda99e
commit
4df5aca19f
|
|
@ -199,7 +199,7 @@ __check_already_mounted() { # 1=(-d|-m) 2=(DEV|MNT)
|
||||||
if echo "${MOUNT}" | grep -q "^${2} on "
|
if echo "${MOUNT}" | grep -q "^${2} on "
|
||||||
then
|
then
|
||||||
local MOUNT="$( echo "${MOUNT}" | grep "^${2} on " | cut -d ' ' -f 3-255 | cut -d '(' -f 1 | sed s/.$// )"
|
local MOUNT="$( echo "${MOUNT}" | grep "^${2} on " | cut -d ' ' -f 3-255 | cut -d '(' -f 1 | sed s/.$// )"
|
||||||
__log "${DEV}: -d already mounted on '${MOUNT}' mount point"
|
__log "${DEV}: already mounted on '${MOUNT}' mount point"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue