/[path-sandbox]/trunk/src/sandbox.c
Gentoo

Diff of /trunk/src/sandbox.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 173 Revision 174
419 419
420 if (print_debug) 420 if (print_debug)
421 printf("========================== Gentoo linux path sandbox ===========================\n"); 421 printf("========================== Gentoo linux path sandbox ===========================\n");
422 422
423 /* check if a sandbox is already running */ 423 /* check if a sandbox is already running */
424 if (NULL != getenv(ENV_SANDBOX_ON)) { 424 if ((NULL != getenv(ENV_SANDBOX_ACTIVE)) &&
425 (0 == strncmp(getenv(ENV_SANDBOX_ACTIVE), SANDBOX_ACTIVE, 13))) {
425 fprintf(stderr, "Not launching a new sandbox instance\n"); 426 fprintf(stderr, "Not launching a new sandbox instance\n");
426 fprintf(stderr, "Another one is already running in this process hierarchy.\n"); 427 fprintf(stderr, "Another one is already running in this process hierarchy.\n");
427 exit(EXIT_FAILURE); 428 exit(EXIT_FAILURE);
428 } 429 }
429 430

Legend:
Removed from v.173  
changed lines
  Added in v.174

  ViewVC Help
Powered by ViewVC 1.1.20