aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 49c733fc..a42846a1 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -220,7 +220,7 @@ set_hostname ()
hostname $1
if ! grep search /etc/resolv.conf >/dev/null 2>&1; then
domain=`echo $1 | sed 's/^[^\.]*\.//'`
- if [ -n "$domain" ]; thenb
+ if [ -n "$domain" ]; then
rsctmp=`mktemp /tmp/XXXXXX`;
cat /etc/resolv.conf > $rsctmp
echo "search $domain" >> $rsctmp