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

dpkg: Split post_script_tasks() debug message

Move the ensure_diversions debug progress message just before the
function call, to make this less confusing.
Guillem Jover лет назад: 12
Родитель
Сommit
37ca4dc304
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/script.c

+ 2 - 2
src/script.c

@@ -69,10 +69,10 @@ post_postinst_tasks(struct pkginfo *pkg, enum pkgstatus new_status)
 static void
 post_script_tasks(void)
 {
+	debug(dbg_triggersdetail, "post_script_tasks - ensure_diversions");
 	ensure_diversions();
 
-	debug(dbg_triggersdetail,
-	      "post_script_tasks - ensure_diversions; trig_incorporate");
+	debug(dbg_triggersdetail, "post_script_tasks - trig_incorporate");
 	trig_incorporate(modstatdb_get_status());
 }