From 430f171389dda9dd6cc9726318017e75e513d0ee Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Wed, 31 Mar 2004 09:41:30 +0000 Subject: we don't have cut in our ramdisk, and on one noticed ;-) Jeremy, this fix should go in U2 if still possible (#119495) --- loader2/linuxrc.s390 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader2/linuxrc.s390') diff --git a/loader2/linuxrc.s390 b/loader2/linuxrc.s390 index 2b779b245..27f1e337c 100644 --- a/loader2/linuxrc.s390 +++ b/loader2/linuxrc.s390 @@ -215,7 +215,7 @@ else # ctc0, escon0, iucv0 echo $"Linux guest:" read IUCV done - if [ $(echo "$IUCV" |cut -c 1-5) != "iucv=" ]; then + if [ "${IUCV:0:5}" = "iucv=" ]; then IUCV="iucv=$IUCV" fi fi -- cgit