Просмотр исходного кода

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 лет назад: 15
Родитель
Сommit
ea81b2b144
1 измененных файлов с 2 добавлено и 0 удалено
  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);