From 12ef8239dbca384a05bb5c4bf34af038aacb1dea Mon Sep 17 00:00:00 2001 Message-Id: <12ef8239dbca384a05bb5c4bf34af038aacb1dea.1716320366.git.mdw@distorted.org.uk> From: Mark Wooding Date: Mon, 8 Jun 2020 19:55:58 +0100 Subject: [PATCH] bin/chroot-maint: Add missing format argument to diagnostic. Organization: Straylight/Edgeware From: Mark Wooding Apparently I've never tripped that one before. --- bin/chroot-maint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/chroot-maint b/bin/chroot-maint index 21e5c21..ba51ec5 100755 --- a/bin/chroot-maint +++ b/bin/chroot-maint @@ -2051,8 +2051,9 @@ class ChrootJob (BaseJob): run_root(["mv", new, real]) for path in have_link.iterkeys(): if path in want_link: continue - progress("remove obsolete link `%s' -> `%s'" % path) real = root + path + progress("remove obsolete link `%s' -> `%s'" % + (path, OS.readlink(real))) run_root(["rm", "-f", real]) ## Remove diversions from paths which don't need them any more. Here -- [mdw]