summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_resolv.pl
diff options
context:
space:
mode:
authorroot <root@vyatta-build.(none)>2010-10-08 12:12:14 -0700
committerroot <root@vyatta-build.(none)>2010-10-08 12:12:14 -0700
commit3f3aa581bf8ad692675f7aed70ca5574b31a70e0 (patch)
treed8ca50647ffffea996256cb4e7e204f2b6be0839 /scripts/system/vyatta_update_resolv.pl
parent3a3609e5043f5afcef717c319ed9837c8587744f (diff)
downloadvyatta-cfg-system-3f3aa581bf8ad692675f7aed70ca5574b31a70e0.tar.gz
vyatta-cfg-system-3f3aa581bf8ad692675f7aed70ca5574b31a70e0.zip
use new error reference location method
Diffstat (limited to 'scripts/system/vyatta_update_resolv.pl')
-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..224d002d 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"],"System configuration error. Both \'domain-name\' and \'domain-search\' are specified, but only one of these mutually exclusive parameters is allowed.");
exit(1);
}