diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-20T12·25+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-20T12·25+0000 |
commit | a55113411fe8e6ef39e24c79564e39f07f5a8fdf (patch) | |
tree | 45819b6a0de04d178f13011274b546ffa9c3ada7 /src/libstore/globals.cc | |
parent | c202523e5304c41ef9a6c7a54951bf39a33ff26e (diff) |
* Nix daemon: reload the configuration file after forking (NIX-100).
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index 19087f657d56..27d75faec248 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -118,5 +118,12 @@ unsigned int queryIntSetting(const string & name, unsigned int def) return n; } + +void reloadSettings() +{ + settingsRead = false; + settings.clear(); +} + } |