aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcomex2015-07-16 00:02:24 -0400
committercomex2015-07-16 00:02:24 -0400
commit0224fea833b6749157034eab4a0f8b2bfd606069 (patch)
tree1e439a00363600518434e07034eeeab3acbbccd6
parenthook up the list of dylibs (diff)
downloadsubstitute-0224fea833b6749157034eab4a0f8b2bfd606069.tar.gz
add verbose thingy
-rw-r--r--darwin-bootstrap/posixspawn-hook.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/darwin-bootstrap/posixspawn-hook.c b/darwin-bootstrap/posixspawn-hook.c
index 893cfee..7b3d320 100644
--- a/darwin-bootstrap/posixspawn-hook.c
+++ b/darwin-bootstrap/posixspawn-hook.c
@@ -274,6 +274,8 @@ static int hook_posix_spawn_generic(__typeof__(posix_spawn) *old,
env_count++;
char *env = *ep;
if (advance(&env, "_MSSafeMode=") || advance(&env, "_SubstituteSafeMode=")) {
+ if (IB_VERBOSE)
+ ib_log("got safe mode env: %s", *ep);
if (!strcmp(env, "0") || !strcmp(env, "NO"))
continue;
else if (!strcmp(env, "1") || !strcmp(env, "YES"))