Skip to content

Commit

Permalink
Handle list arguments better in get_custom_mounts().
Browse files Browse the repository at this point in the history
  • Loading branch information
Tails developers authored and daniel-baumann committed Apr 5, 2012
1 parent 57f78bf commit 5ca613c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/live
Expand Up @@ -1223,7 +1223,7 @@ setup_unionfs ()
rm -rf ${custom_mounts} 2> /dev/null

# Gather information about custom mounts from devies detected as overlays
get_custom_mounts ${overlay_devices} ${custom_mounts}
get_custom_mounts ${custom_mounts} ${overlay_devices}

[ -n "${DEBUG}" ] && cp ${custom_mounts} "${rootmnt}/live/persistent"

Expand Down
5 changes: 3 additions & 2 deletions scripts/live-helpers
Expand Up @@ -1228,8 +1228,9 @@ get_custom_mounts ()
# Side-effect: leaves $devices with live.persist mounted in ${rootmnt}/live/persistent
# Side-effect: prints info to file $custom_mounts

local devices="${1}"
local custom_mounts="${2}" # print result to this file
local custom_mounts=${1}
shift
local devices=${@}

local bindings="/tmp/bindings.list"
local links="/tmp/links.list"
Expand Down

0 comments on commit 5ca613c

Please sign in to comment.