projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Two return code consistency fix.
[live-boot-grml.git]
/
scripts
/
live
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 ' ')"