From e991f76b29fc7214e00ef5117527e8692c0304bf Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Tue, 12 May 2009 17:16:38 +0200 Subject: [PATCH] Partition snapshots works again. --- scripts/live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' ')" -- 2.1.4