aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-09 12:49:18 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-09 12:49:18 +0000
commit2605fe464acaa4b4a8972e40be85242ee2ae7392 (patch)
treefcef7a9deb5f62ee71527f0e264c27b9e305f6e0 /src
parentlibsandbox: create local memory functions (diff)
downloadsandbox-2605fe464acaa4b4a8972e40be85242ee2ae7392.tar.gz
sandbox-2605fe464acaa4b4a8972e40be85242ee2ae7392.tar.bz2
sandbox-2605fe464acaa4b4a8972e40be85242ee2ae7392.zip
sandbox: unify banner message and drop "linux" from it
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/sandbox.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sandbox.c b/src/sandbox.c
index e40ebc3..90b0a53 100644
--- a/src/sandbox.c
+++ b/src/sandbox.c
@@ -21,6 +21,7 @@ volatile static int stop_called = 0;
volatile static pid_t child_pid = 0;
static char log_domain[] = "sandbox";
+static const char sandbox_banner[] = "============================= Gentoo path sandbox ==============================";
int setup_sandbox(struct sandbox_info_t *sandbox_info, bool interactive)
{
@@ -230,7 +231,7 @@ int main(int argc, char **argv)
print_debug = 1;
if (print_debug)
- printf("========================== Gentoo linux path sandbox ===========================\n");
+ puts(sandbox_banner);
/* check if a sandbox is already running */
if (NULL != getenv(ENV_SANDBOX_ACTIVE)) {
@@ -336,7 +337,7 @@ int main(int argc, char **argv)
printf("Cleaning up sandbox process\n");
if (print_debug) {
- printf("========================== Gentoo linux path sandbox ===========================\n");
+ puts(sandbox_banner);
printf("The protected environment has been shut down.\n");
}