mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 19:29:36 +01:00
printMsg(lvlError, ...) -> printError(...) etc.
This commit is contained in:
parent
4036185cb4
commit
c55bf085eb
30 changed files with 140 additions and 140 deletions
|
|
@ -132,9 +132,9 @@ void deleteGeneration(const Path & profile, unsigned int gen)
|
|||
static void deleteGeneration2(const Path & profile, unsigned int gen, bool dryRun)
|
||||
{
|
||||
if (dryRun)
|
||||
printMsg(lvlInfo, format("would remove generation %1%") % gen);
|
||||
printInfo(format("would remove generation %1%") % gen);
|
||||
else {
|
||||
printMsg(lvlInfo, format("removing generation %1%") % gen);
|
||||
printInfo(format("removing generation %1%") % gen);
|
||||
deleteGeneration(profile, gen);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue