aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-02-24 18:09:39 +0000
committerBill Nottingham <notting@redhat.com>2000-02-24 18:09:39 +0000
commit6c2a3ee4681a80e3b42b76788659661d6e715227 (patch)
tree48b2565e0665e256a7835c3bde095dbc34e2725e /sysconfig/network-scripts/ifup-post
parent54043b248480e855d9223c847440aab618e6e41c (diff)
downloadinitscripts-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/ifup-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
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