mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
daemon: Add libgcrypt call to state that the initialization is over.
* nix/nix-daemon/guix-daemon.cc (main): Add 'gcry_control' call.
This commit is contained in:
parent
7eb71d7a3d
commit
37dd969c2e
1 changed files with 4 additions and 0 deletions
|
@ -195,6 +195,10 @@ main (int argc, char *argv[])
|
|||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* Tell Libgcrypt that initialization has completed, as per the Libgcrypt
|
||||
1.6.0 manual (although this does not appear to be strictly needed.) */
|
||||
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
|
||||
|
||||
/* Set the umask so that the daemon does not end up creating group-writable
|
||||
files, which would lead to "suspicious ownership or permission" errors.
|
||||
See <http://lists.gnu.org/archive/html/bug-guix/2013-07/msg00033.html>. */
|
||||
|
|
Loading…
Reference in a new issue