diff options
author | comex | 2015-07-16 00:02:24 -0400 |
---|---|---|
committer | comex | 2015-07-16 00:02:24 -0400 |
commit | 0224fea833b6749157034eab4a0f8b2bfd606069 (patch) | |
tree | 1e439a00363600518434e07034eeeab3acbbccd6 /darwin-bootstrap | |
parent | hook up the list of dylibs (diff) | |
download | substitute-0224fea833b6749157034eab4a0f8b2bfd606069.tar.gz |
add verbose thingy
Diffstat (limited to 'darwin-bootstrap')
-rw-r--r-- | darwin-bootstrap/posixspawn-hook.c | 2 |
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")) |