From: Marco Amadori Date: Tue, 16 Sep 2008 14:13:18 +0000 (+0200) Subject: Fixed a wrong trial to copy an unexistant snapshot. X-Git-Tag: debian/2.0.15-1~430 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=ddef67c34aa996a240abc3e3d191ee0a1744d900;p=live-boot-grml.git Fixed a wrong trial to copy an unexistant snapshot. * Quoting a variable could do miracles :-) --- 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