diff options
| author | Tails developers <amnesia@boum.org> | 2011-11-10 18:58:04 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-11-24 09:42:08 +0100 |
| commit | d8df882369aad68caf3ac39692e2196e932ef15b (patch) | |
| tree | 685048936137c16d3bfb0654f856de1535e4fabd /scripts | |
| parent | 6829648b938cf440a572b7cc1b0a0dddb8b16dc8 (diff) | |
| download | live-boot-d8df882369aad68caf3ac39692e2196e932ef15b.tar.gz live-boot-d8df882369aad68caf3ac39692e2196e932ef15b.zip | |
Fixing a "sh: bad number" when $offset is not passed to setup_loop().
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/live-helpers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers index b812979..bbed909 100644 --- 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 |
