chiark / gitweb /
bin/chroot-maint: Add missing format argument to diagnostic.
[distorted-chroot] / bin / chroot-maint
index 21e5c215bdc8e8f9f64682ee05127e8bda9c1cc3..ba51ec5ed209c15a6e8b136cab63cde9eea173f3 100755 (executable)
@@ -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