diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2022-07-20 10:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 10:05:34 +0200 |
commit | 7ed91d6c6ab86199e7c9703f2852f47d36976d6b (patch) | |
tree | 64a829bc84eb0a16d0ed5943dbaf3b2bd3d96610 /src/nix-collect-garbage/nix-collect-garbage.cc | |
parent | 56f6f3725f4fbeeb7900ae95bd71d559695b3dc5 (diff) | |
parent | fbd0a6c6e2e87f6679fe5cabaddaa877cf3e5a90 (diff) |
Merge branch 'master' into parallel-nix-copy
Diffstat (limited to 'src/nix-collect-garbage/nix-collect-garbage.cc')
-rw-r--r-- | src/nix-collect-garbage/nix-collect-garbage.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-collect-garbage/nix-collect-garbage.cc b/src/nix-collect-garbage/nix-collect-garbage.cc index af6f1c88c..e413faffe 100644 --- a/src/nix-collect-garbage/nix-collect-garbage.cc +++ b/src/nix-collect-garbage/nix-collect-garbage.cc @@ -37,6 +37,7 @@ void removeOldGenerations(std::string dir) link = readLink(path); } catch (SysError & e) { if (e.errNo == ENOENT) continue; + throw; } if (link.find("link") != std::string::npos) { printInfo(format("removing old generations of profile %1%") % path); |