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

u-a: Rename alternative_remove to alternative_remove_files

We will use this name for the actual alternative remove action.
Guillem Jover лет назад: 11
Родитель
Сommit
73b937b908
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      utils/update-alternatives.c

+ 2 - 2
utils/update-alternatives.c

@@ -1842,7 +1842,7 @@ alternative_prepare_install(struct alternative *a, const char *choice)
 }
 
 static void
-alternative_remove(struct alternative *a)
+alternative_remove_files(struct alternative *a)
 {
 	struct slave_link *sl;
 
@@ -2324,7 +2324,7 @@ alternative_update(struct alternative *a,
 	/* No choice left, remove everything. */
 	if (!alternative_choices_count(a)) {
 		log_msg("link group %s fully removed", a->master_name);
-		alternative_remove(a);
+		alternative_remove_files(a);
 		return;
 	}