From a451caaf7128f8415ec33ab9aebcad61243d2dc8 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 1 Oct 2014 15:37:51 -0400 Subject: message clean up --- cloudinit/config/cc_mounts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloudinit/config/cc_mounts.py b/cloudinit/config/cc_mounts.py index 24c5d24d..e0d047d6 100644 --- a/cloudinit/config/cc_mounts.py +++ b/cloudinit/config/cc_mounts.py @@ -208,8 +208,9 @@ def handle_swapcfg(swapcfg): try: for line in util.load_file("/proc/swaps").splitlines(): if line.startswith(fname + " "): - LOG.debug("swap file %s already used", fname) + LOG.debug("swap file %s already in use.", fname) return + LOG.debug("swap file %s existed, but not in /proc/swaps", fname) except: LOG.warn("swap file %s existed. Error reading /proc/swaps", fname) return -- cgit v1.2.3