diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-03-13 17:07:49 +0100 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-03-13 17:07:49 +0100 |
commit | bd50c01972718167cf86d20dcd9c928b4c3cfbd8 (patch) | |
tree | f87b9dc31dc188d8f56e08ea0abf26a3ac7258e8 /src/libmain/shared.hh | |
parent | b461721f17d7104c7ef08a0840d80685b9ae853e (diff) |
Ensure that Perl processes delete their entry in the temproots directory
By moving the destructor object to libstore.so, it's also run when
download-using-manifests and nix-prefetch-url exit. This prevents
them from cluttering /nix/var/nix/temproots with stale files.
Diffstat (limited to 'src/libmain/shared.hh')
-rw-r--r-- | src/libmain/shared.hh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh index 43725e07f..d198df70d 100644 --- a/src/libmain/shared.hh +++ b/src/libmain/shared.hh @@ -48,11 +48,6 @@ extern bool setuidMode; extern volatile ::sig_atomic_t blockInt; -struct RemoveTempRoots -{ - ~RemoveTempRoots(); -}; - /* Exit code of the program. */ extern int exitCode; |