summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/config/cc_mounts.py3
1 files changed, 2 insertions, 1 deletions
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