summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-04-30 10:59:24 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-04-30 10:59:24 +0200
commit03fd949f1d49b0c8dbe7f72f6d1b505bd424e994 (patch)
tree87abffacf739f7126e865ab948a3d3ee27483e6f
parent7699ed181dfbf819e370889b86402fdd35a884cd (diff)
downloadanaconda-03fd949f1d49b0c8dbe7f72f6d1b505bd424e994.tar.gz
anaconda-03fd949f1d49b0c8dbe7f72f6d1b505bd424e994.tar.xz
anaconda-03fd949f1d49b0c8dbe7f72f6d1b505bd424e994.zip
There should be a space between -F and the value. (#444674)
-rw-r--r--loader2/linuxrc.s3904
1 files changed, 2 insertions, 2 deletions
diff --git a/loader2/linuxrc.s390 b/loader2/linuxrc.s390
index 2e75bd82e..50b7db039 100644
--- a/loader2/linuxrc.s390
+++ b/loader2/linuxrc.s390
@@ -40,14 +40,14 @@ checkip()
checkipv6()
{
ip=$1
- echo $ip | awk -F':' 'BEGIN{ error = 0} { if (NF > 8) error=1; i = 1; while (i++<=NF) {if (!match(toupper($i), "^[0-9A-F]*$")){ error=1}}exit error}'
+ echo $ip | awk -F ':' 'BEGIN{ error = 0} { if (NF > 8) error=1; i = 1; while (i++<=NF) {if (!match(toupper($i), "^[0-9A-F]*$")){ error=1}}exit error}'
return $?;
}
checkipv4()
{
ip=$1
- echo $ip | awk -F'.' '{ if (NF != 4) { exit 1 } i=1; while (i<=NF) { if ($i>255 || $i<0) { exit 1 }; i=i+1; } exit 0 }'
+ echo $ip | awk -F '.' '{ if (NF != 4) { exit 1 } i=1; while (i<=NF) { if ($i>255 || $i<0) { exit 1 }; i=i+1; } exit 0 }'
return $?
}