From: Marco Amadori Date: Tue, 12 May 2009 15:16:38 +0000 (+0200) Subject: Partition snapshots works again. X-Git-Tag: debian/2.0.15-1~314 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=e991f76b29fc7214e00ef5117527e8692c0304bf;p=live-boot-grml.git Partition snapshots works again. --- diff --git a/scripts/live b/scripts/live index ef7f64d..56c0a14 100755 --- a/scripts/live +++ b/scripts/live @@ -944,7 +944,7 @@ try_snap () snap_mount="${2}" snap_type="${3}" - if [ ! -z "${snapdata}" ] + if [ -n "${snapdata}" ] && [ ! -b "${snapdata}" ] then log_success_msg "found snapshot: ${snapdata}" snapdev="$(echo ${snapdata} | cut -f1 -d ' ')"