summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-11-29 13:01:57 +0100
committerTails developers <amnesia@boum.org>2012-12-13 14:55:49 +0100
commit64f09eed36c91096eaa03cd55db9aa5b9e913acd (patch)
tree316793700b2469ffed4ce041162a859053b3ad15
parentefcf398befe67d1004d4fdf312bcfefcefe6882a (diff)
Fix live-persist --media option handling.0.16-rc1
Until now, the value passed to this option was, well, ignored.
-rwxr-xr-xconfig/chroot_local-includes/usr/local/sbin/live-persist2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/chroot_local-includes/usr/local/sbin/live-persist b/config/chroot_local-includes/usr/local/sbin/live-persist
index 2fc125a..e4a802f 100755
--- a/config/chroot_local-includes/usr/local/sbin/live-persist
+++ b/config/chroot_local-includes/usr/local/sbin/live-persist
@@ -311,7 +311,7 @@ main ()
set -x
;;
--media=*)
- export PERSISTENCE_MEDIA="${ARGUMENT#*=}"
+ export PERSISTENCE_MEDIA="${1#*=}"
;;
--read-only)
export PERSISTENCE_READONLY="true"