summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarco Amadori <amadorim@vdavda.com>2008-09-16 16:13:18 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:02 +0100
commitddef67c34aa996a240abc3e3d191ee0a1744d900 (patch)
treef668b115a84aaa622a8938594b09f975f7b5d576 /scripts
parentf36959769865c609173f48eec60364429a3d22de (diff)
downloadlive-boot-ddef67c34aa996a240abc3e3d191ee0a1744d900.tar.gz
live-boot-ddef67c34aa996a240abc3e3d191ee0a1744d900.zip
Fixed a wrong trial to copy an unexistant snapshot.
* Quoting a variable could do miracles :-)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index 08810cb..b7fd4ce 100755
--- a/scripts/live
+++ b/scripts/live
@@ -921,7 +921,7 @@ try_snap ()
else
dev=$(find_cow_device "${snap_label}")
- if [ -b ${dev} ]
+ if [ -b "${dev}" ]
then
if echo "${dev}" | grep -qs loop
then