summaryrefslogtreecommitdiff
path: root/cloudinit/distros/freebsd.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-01-24 15:23:57 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-01-24 15:23:57 -0800
commitd32091e5016924e15a956d264f5d44ccc8613e2a (patch)
treee55c7ba7b091b07f14e0bcfee6237b7ec0ccb460 /cloudinit/distros/freebsd.py
parenteb1cc91597656414642ca7b66d5912882acd7ffc (diff)
downloadvyos-cloud-init-d32091e5016924e15a956d264f5d44ccc8613e2a.tar.gz
vyos-cloud-init-d32091e5016924e15a956d264f5d44ccc8613e2a.zip
Log failure to restore backup locale file
Diffstat (limited to 'cloudinit/distros/freebsd.py')
-rw-r--r--cloudinit/distros/freebsd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/freebsd.py b/cloudinit/distros/freebsd.py
index d9d51dea..ab5e334a 100644
--- a/cloudinit/distros/freebsd.py
+++ b/cloudinit/distros/freebsd.py
@@ -238,7 +238,7 @@ class Distro(distros.Distro):
try:
util.copy(self.login_conf_fn_bak, self.login_conf_fn)
except IOError:
- pass
+ util.logexc("Failed to restore %s backup", self.login_conf_fn)
def install_packages(self, pkglist):
return