X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=bbed9097aa2d3cd1c6803dd4de9a5ffb49b12a62;hb=d8df882369aad68caf3ac39692e2196e932ef15b;hp=b812979e1ae33e2aa265f7ba12d7b172858cf6c7;hpb=6829648b938cf440a572b7cc1b0a0dddb8b16dc8;p=live-boot-grml.git 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