projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing a "sh: bad number" when $offset is not passed to setup_loop().
[live-boot-grml.git]
/
scripts
/
live-helpers
diff --git
a/scripts/live-helpers
b/scripts/live-helpers
index
b812979
..
bbed909
100644
(file)
--- a/
scripts/live-helpers
+++ b/
scripts/live-helpers
@@
-234,7
+234,7
@@
setup_loop ()
fi
fi
- if [ 0 -lt "${offset}" ]
+ if [
-n "${offset}" ] && [
0 -lt "${offset}" ]
then
options="${options} -o ${offset}"
fi