Skip to content

Commit

Permalink
Drop quotes around mountopts, whitespace there don't seem useful.
Browse files Browse the repository at this point in the history
This allows to use '-t ntfs-3g' in MOUNT_OPTS_*.
  • Loading branch information
Michał Górny committed Sep 17, 2010
1 parent 53d0147 commit e102e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uam-mount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ try_mountpoint() {
else
local mountoutput
debug "... mountpoint ${MP} free, using it."
mountoutput="$(mount -o "$(get_mountopts "${ID_FS_TYPE}")" "${DEVPATH}" "${MP}" 2>&1)"
mountoutput="$(mount -o $(get_mountopts "${ID_FS_TYPE}") "${DEVPATH}" "${MP}" 2>&1)"

if [ $? -eq 0 ]; then
debug "...... mount successful."
Expand Down

0 comments on commit e102e5c

Please sign in to comment.