qmnt - Fixed read only flag
This commit is contained in:
parent
d03bf1f30c
commit
c5da64b238
1 changed files with 2 additions and 2 deletions
|
@ -192,9 +192,9 @@ fi
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
|
|
||||||
if [[ -z "${DEFAULT_MOUNT_OPTS["$TYPE"]}" ]]; then
|
if [[ -z "${DEFAULT_MOUNT_OPTS["$TYPE"]}" ]]; then
|
||||||
MOUNT_OPTS="${DEFAULT_MOUNT_OPTS["OTHER"]}""${MOUNT_OPTS}"
|
MOUNT_OPTS="${DEFAULT_MOUNT_OPTS["OTHER"]},${MOUNT_OPTS}"
|
||||||
else
|
else
|
||||||
MOUNT_OPTS="${DEFAULT_MOUNT_OPTS["$TYPE"]}""${MOUNT_OPTS}"
|
MOUNT_OPTS="${DEFAULT_MOUNT_OPTS["$TYPE"]},${MOUNT_OPTS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ ! -d "${MOUNT_FOLDER}" && -z $DRY_RUN ]] && mkdir "${MOUNT_FOLDER}"
|
[[ ! -d "${MOUNT_FOLDER}" && -z $DRY_RUN ]] && mkdir "${MOUNT_FOLDER}"
|
||||||
|
|
Loading…
Reference in a new issue