diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-05-08T08·13+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-08T08·13+0200 |
commit | 3e940bbf2dfdbb0f51ce84915d54750bb3dcac36 (patch) | |
tree | a3b3c8af1bb03ae8629d270dd97393362de81690 | |
parent | a83486187616fd2de877ce72f5fd419385a2c541 (diff) | |
parent | cbc7d9a4124343c7ba68b695b5e9b3c8188fb267 (diff) |
Merge pull request #2790 from samueldr/fix/minor-comment-NIX_ROOT_FINDER
findRootsNoTemp: fixes comment about findRuntimeRoots
-rw-r--r-- | src/libstore/gc.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index d8a5da0d49e2..26e2b0dca7ca 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -326,10 +326,9 @@ void LocalStore::findRootsNoTemp(Roots & roots, bool censor) findRoots(stateDir + "/" + gcRootsDir, DT_UNKNOWN, roots); findRoots(stateDir + "/profiles", DT_UNKNOWN, roots); - /* Add additional roots returned by the program specified by the - NIX_ROOT_FINDER environment variable. This is typically used - to add running programs to the set of roots (to prevent them - from being garbage collected). */ + /* Add additional roots returned by different platforms-specific + heuristics. This is typically used to add running programs to + the set of roots (to prevent them from being garbage collected). */ findRuntimeRoots(roots, censor); } |