aboutsummaryrefslogtreecommitdiff
path: root/nix/nix-daemon
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-09 12:16:26 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-09 12:16:26 +0100
commit2498d43adb4ad72841527bcc65d5ace0a4535fb8 (patch)
tree98862c38a20956e5bf6ad169ea31bf94cf273caa /nix/nix-daemon
parent6221db61f5c722c49c78827a8dcef13d83252409 (diff)
downloadguix-2498d43adb4ad72841527bcc65d5ace0a4535fb8.tar
guix-2498d43adb4ad72841527bcc65d5ace0a4535fb8.tar.gz
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'.
Diffstat (limited to 'nix/nix-daemon')
-rw-r--r--nix/nix-daemon/guix-daemon.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/nix-daemon/guix-daemon.cc b/nix/nix-daemon/guix-daemon.cc
index 5e624d1daa..604a26f0b1 100644
--- a/nix/nix-daemon/guix-daemon.cc
+++ b/nix/nix-daemon/guix-daemon.cc
@@ -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)