Skip to content
Snippets Groups Projects
Commit 2498d43a authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

daemon: Fix warning message when running as root without a build user group.

* nix/nix-daemon/guix-daemon.cc (main): Fix warning message when running
  as root without `--build-users-group'.
parent 6221db61
No related branches found
No related tags found
No related merge requests found
......@@ -193,8 +193,8 @@ main (int argc, char *argv[])
argp_parse (&argp, argc, argv, 0, 0, 0);
if (geteuid () == 0 && settings.buildUsersGroup.empty ())
fprintf (stderr, "warning: running as root is highly recommended, "
"unless `--build-users-group' is used\n");
fprintf (stderr, "warning: daemon is running as root, so "
"using `--build-users-group' is highly recommended\n");
#ifdef HAVE_CHROOT
if (settings.useChroot)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment