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 (from parent 1:
6829648
)
Fixing a "sh: bad number" when $offset is not passed to setup_loop().
author
Tails developers
<amnesia@boum.org>
Thu, 10 Nov 2011 17:58:04 +0000
(18:58 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Thu, 24 Nov 2011 08:42:08 +0000
(09:42 +0100)
scripts/live-helpers
patch
|
blob
|
history
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
fi
fi
- if [ 0 -lt "${offset}" ]
+ if [
-n "${offset}" ] && [
0 -lt "${offset}" ]
then
options="${options} -o ${offset}"
fi
then
options="${options} -o ${offset}"
fi