diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-04-30 10:59:24 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-04-30 10:59:24 +0200 |
commit | 03fd949f1d49b0c8dbe7f72f6d1b505bd424e994 (patch) | |
tree | 87abffacf739f7126e865ab948a3d3ee27483e6f | |
parent | 7699ed181dfbf819e370889b86402fdd35a884cd (diff) | |
download | anaconda-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.s390 | 4 |
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 $? } |