Skip to content

Commit

Permalink
Also respecting persistent-path parameter for snapshots (Closes: #570…
Browse files Browse the repository at this point in the history
…162).
  • Loading branch information
Tanguy Ortolo authored and daniel-baumann committed Mar 14, 2010
1 parent 7aec3a1 commit 5ce4102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/live
Expand Up @@ -996,7 +996,7 @@ find_snap ()
if [ "${PERSISTENT}" != "nofiles" ]
then
# search for image files
snapdata=$(find_files "${snap_label}.squashfs ${snap_label}.cpio.gz ${snap_label}.ext2 ${snap_label}.ext3 ${snap_label}.ext4 ${snap_label}.jffs2")
snapdata=$(find_files "${PERSISTENT_PATH}${snap_label}.squashfs ${PERSISTENT_PATH}${snap_label}.cpio.gz ${PERSISTENT_PATH}${snap_label}.ext2 ${PERSISTENT_PATH}${snap_label}.ext3 ${PERSISTENT_PATH}${snap_label}.ext4 ${PERSISTENT_PATH}${snap_label}.jffs2")
fi

if [ -z "${snapdata}" ]
Expand Down

0 comments on commit 5ce4102

Please sign in to comment.