mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +02:00
nix-worker: put the pid of the caller in argv[1]
This is useful for debugging.
This commit is contained in:
parent
2b4964f319
commit
1d487dc6a6
3 changed files with 25 additions and 2 deletions
|
@ -56,6 +56,8 @@ struct RemoveTempRoots
|
|||
/* Exit code of the program. */
|
||||
extern int exitCode;
|
||||
|
||||
extern char * * argvSaved;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue