diff options
author | Bill Nottingham <notting@redhat.com> | 2000-02-24 18:09:39 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-02-24 18:09:39 +0000 |
commit | 6c2a3ee4681a80e3b42b76788659661d6e715227 (patch) | |
tree | 48b2565e0665e256a7835c3bde095dbc34e2725e /sysconfig/network-scripts | |
parent | 54043b248480e855d9223c847440aab618e6e41c (diff) | |
download | initscripts-6c2a3ee4681a80e3b42b76788659661d6e715227.tar initscripts-6c2a3ee4681a80e3b42b76788659661d6e715227.tar.gz initscripts-6c2a3ee4681a80e3b42b76788659661d6e715227.tar.bz2 initscripts-6c2a3ee4681a80e3b42b76788659661d6e715227.tar.xz initscripts-6c2a3ee4681a80e3b42b76788659661d6e715227.zip |
allow for spaces in lines that are read
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-post | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post index 3107bc79..6dbf8a2d 100755 --- a/sysconfig/network-scripts/ifup-post +++ b/sysconfig/network-scripts/ifup-post @@ -50,7 +50,7 @@ if [ "$PEERDNS" != "no" -o "$RESOLV_MODS" != "no" ]; then current_replacement= fi else - if [ $answer != EOF ] ; then + if [ "$answer" != EOF ] ; then echo "$answer" >> $tr fi fi |