summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient-script
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 6ea4136..f61715d 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -166,7 +166,7 @@ add_new_resolv_conf() {
$ROUTE delete $nameserver
done
fi
- if [ -n "$new_domain_name_server" ]; then
+ if [ -n "$new_domain_name_servers" ]; then
rm -f /var/etc/nameserver_$interface
for nameserver in $new_domain_name_servers; do
# Add a route to the nameserver out the correct interface
OpenPOWER on IntegriCloud