summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_resolv.pl
diff options
context:
space:
mode:
authorroot <root@debian.vyatta.com>2010-10-15 15:05:45 -0700
committerroot <root@debian.vyatta.com>2010-10-15 15:05:45 -0700
commit0b8de8844e958e177b875a2daf222c9fc99499e7 (patch)
tree8b75b42cad1cafe5838c9cff4691faef15f6e9b7 /scripts/system/vyatta_update_resolv.pl
parent9a9e836c98de83be69eb2ea9784bf8fdacc40134 (diff)
downloadvyatta-cfg-system-0b8de8844e958e177b875a2daf222c9fc99499e7.tar.gz
vyatta-cfg-system-0b8de8844e958e177b875a2daf222c9fc99499e7.zip
change to accessor for outputerror
Diffstat (limited to 'scripts/system/vyatta_update_resolv.pl')
-rwxr-xr-xscripts/system/vyatta_update_resolv.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_resolv.pl b/scripts/system/vyatta_update_resolv.pl
index 6897c791..3f0d539e 100755
--- a/scripts/system/vyatta_update_resolv.pl
+++ b/scripts/system/vyatta_update_resolv.pl
@@ -47,7 +47,7 @@ if ($dhclient_script == 1) {
}
if ($dhclient_script == 0 && @domains > 0 && $domain_name && length($domain_name) > 0) {
- $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.");
+ Vyatta::Config::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);
}