summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-09 11:16:14 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-09 11:16:14 -0700
commitd50ddd313dd283d143fca6c7fa528909573678bc (patch)
tree8382b728f83d043008a33ce64fd9cd4c63105b34 /scripts
parent1d3e6b3ea190d14b68b2f9792784037d4f12928b (diff)
parentfcd9207451d02f31464add8f1f73313f4e51a150 (diff)
downloadvyatta-cfg-system-d50ddd313dd283d143fca6c7fa528909573678bc.tar.gz
vyatta-cfg-system-d50ddd313dd283d143fca6c7fa528909573678bc.zip
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg-system into mendocino
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/system/vyatta_update_resolv.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/system/vyatta_update_resolv.pl b/scripts/system/vyatta_update_resolv.pl
index 041292be..6897c791 100755
--- a/scripts/system/vyatta_update_resolv.pl
+++ b/scripts/system/vyatta_update_resolv.pl
@@ -47,8 +47,7 @@ if ($dhclient_script == 1) {
}
if ($dhclient_script == 0 && @domains > 0 && $domain_name && length($domain_name) > 0) {
- print STDERR "System configuration error. Both \'domain-name\' and \'domain-search\' are specified, but only one of these mutually exclusive parameters is allowed.\n";
- print STDERR "System configuration commit aborted due to error(s).\n";
+ $vc->outputError(["system domain-name","system domain-search domain"],"System configuration error. Both \'domain-name\' and \'domain-search\' are specified, but only one of these mutually exclusive parameters is allowed.");
exit(1);
}