projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c28d24
)
Partition snapshots works again.
author
Marco Amadori
<amadorim@vdavda.com>
Tue, 12 May 2009 15:16:38 +0000
(17:16 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:05 +0000
(17:48 +0100)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
ef7f64d
..
56c0a14
100755
(executable)
--- 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 ' ')"