diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-09 11:16:14 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-09 11:16:14 -0700 |
commit | d50ddd313dd283d143fca6c7fa528909573678bc (patch) | |
tree | 8382b728f83d043008a33ce64fd9cd4c63105b34 /scripts | |
parent | 1d3e6b3ea190d14b68b2f9792784037d4f12928b (diff) | |
parent | fcd9207451d02f31464add8f1f73313f4e51a150 (diff) | |
download | vyatta-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-x | scripts/system/vyatta_update_resolv.pl | 3 |
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); } |