diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-03 20:41:22 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-03 20:41:22 +0000 |
commit | 9322b399f3a6fe3e0d60dfa991b06012c35b72f8 (patch) | |
tree | 002d00fbd1b60aa518373ebb0c5258db5903cda8 | |
parent | f4279bcde0934c221df081c366c8fc776aa2be99 (diff) | |
download | guix-9322b399f3a6fe3e0d60dfa991b06012c35b72f8.tar.gz |
* Doh.
-rw-r--r-- | src/libmain/shared.cc | 3 | ||||
-rw-r--r-- | src/libmain/shared.hh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index a5401ba5d0..68016b0d7b 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -207,6 +207,9 @@ static void initAndRun(int argc, char * * argv) } +bool setuidMode = false; + + static void setuidInit() { /* Don't do anything if this is not a setuid binary. */ diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh index 20262004bd..2c574d148f 100644 --- a/src/libmain/shared.hh +++ b/src/libmain/shared.hh @@ -25,7 +25,7 @@ Path makeRootName(const Path & gcRoot, int & counter); void printGCWarning(); /* Whether we're running setuid. */ -bool setuidMode = false; +extern bool setuidMode; } |