aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-05-01 19:50:13 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-05-01 19:50:13 +0000
commitf02bf285c77cd92a187296c42b10464eb3f007aa (patch)
tree6eb4d1b0299960ab65e0711e641cc54b0a89fa39
parentab00eb373afeeed2f0d90f2a4f9430d1940a1143 (diff)
downloadpaludis-f02bf285c77cd92a187296c42b10464eb3f007aa.tar.gz
paludis-f02bf285c77cd92a187296c42b10464eb3f007aa.tar.xz
Don't spawn sandbox if we're already sandboxed (and get it right)
-rw-r--r--paludis/util/system.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/system.cc b/paludis/util/system.cc
index b915e4f..14e7c5b 100644
--- a/paludis/util/system.cc
+++ b/paludis/util/system.cc
@@ -137,7 +137,7 @@ const std::string
paludis::make_sandbox_command(const std::string & cmd)
{
#if HAVE_SANDBOX
- if (getenv_with_default("SANDBOX_ACTIVE", "").empty())
+ if (! getenv_with_default("SANDBOX_ACTIVE", "").empty())
{
Log::get_instance()->message(ll_warning, "Already inside sandbox, not spawning "
"another sandbox instance");