Explorar o código

dpkg: Add debug output on match in dir_is_used_by_others()

The debug output was not balanced, and was only printing when no match
happened, making the output confusing.
Guillem Jover %!s(int64=15) %!d(string=hai) anos
pai
achega
ea81b2b144
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/help.c

+ 2 - 0
src/help.c

@@ -504,6 +504,8 @@ dir_is_used_by_others(struct filenamenode *file, struct pkginfo *pkg)
           other_pkg->name);
     if (other_pkg == pkg)
       continue;
+
+    debug(dbg_veryverbose, "dir_is_used_by_others yes");
     return true;
   }
   filepackages_iter_free(iter);