summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2024-06-23 11:15:43 -0400
committerAndras Timar <andras.timar@collabora.com>2024-07-03 11:51:14 +0200
commit0f30a76dbe3404acf6c692094a8e4cb4a1e724b5 (patch)
treeb2365907ab3b1daf872fb1aadf8ec3a22adc5eaa
parentwsd: jails: remove empty directories (diff)
downloadonline-0f30a76dbe3404acf6c692094a8e4cb4a1e724b5.tar.gz
online-0f30a76dbe3404acf6c692094a8e4cb4a1e724b5.zip
wsd: jails: failure to unmount is not an error
The mount-point could still be busy and we retry again anyway. It's reasonable to warn in this case instead of logging an error. Change-Id: If13f95d42f8cdcc60aa4989b14a77be710419546 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
-rw-r--r--common/JailUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/JailUtil.cpp b/common/JailUtil.cpp
index f12e804824..bbb34f2e5f 100644
--- a/common/JailUtil.cpp
+++ b/common/JailUtil.cpp
@@ -195,7 +195,7 @@ static bool unmount(const std::string& target, bool silent = false)
// which may be left-over and now the config has changed.
// This happens more often in dev labs than in prod.
if (JailUtil::isBindMountingEnabled() && !silent)
- LOG_ERR("Failed to unmount [" << target << ']');
+ LOG_WRN("Failed to unmount [" << target << ']');
else
LOG_DBG("Failed to unmount [" << target << ']');
}