From 408746cba6128bad91730946d8b45e9548267d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 30 Apr 2025 10:20:17 +0200 Subject: [PATCH] replaceSymlink: fix quoting in error message --- src/libutil/file-system.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libutil/file-system.cc b/src/libutil/file-system.cc index 071aecc9d..83c692e49 100644 --- a/src/libutil/file-system.cc +++ b/src/libutil/file-system.cc @@ -629,14 +629,14 @@ void replaceSymlink(const fs::path & target, const fs::path & link) fs::create_symlink(target, tmp); } catch (fs::filesystem_error & e) { if (e.code() == std::errc::file_exists) continue; - throw SysError("creating symlink '%1%' -> '%2%'", tmp, target); + throw SysError("creating symlink %1% -> %2%", tmp, target); } try { fs::rename(tmp, link); } catch (fs::filesystem_error & e) { if (e.code() == std::errc::file_exists) continue; - throw SysError("renaming '%1%' to '%2%'", tmp, link); + throw SysError("renaming %1% to %2%", tmp, link); }