~alip/sydbox

70a9d87d8d31d266474b4d1b1d4781d6df41fab3 — Ⓐlï P☮latel 6 months ago e951fbf
syd: use STDERR_FILENO rather than hardcoding 2

Signed-off-by: Ⓐlï P☮latel <alip@exherbo.org>
1 files changed, 1 insertions(+), 1 deletions(-)

M src/syd-box.c
M src/syd-box.c => src/syd-box.c +1 -1
@@ 3095,7 3095,7 @@ int main(int argc, char **argv)

	const char *env;
	if ((env = secure_getenv(SYDBOX_DUMP_ENV)))
		dump_set_fd(2);
		dump_set_fd(STDERR_FILENO);
#if 0
	if ((env = secure_getenv(SYDBOX_CONFIG_ENV)))
		config_parse_spec(env);