From 6b7b71b1f862a352f1d3ab5381ed91f82ee5e6ac Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 13 Oct 2017 04:42:30 +0800 Subject: [PATCH] Remove error handler --- su.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/su.c b/su.c index 24d643078..3dbdfa5ca 100644 --- a/su.c +++ b/su.c @@ -307,9 +307,6 @@ int su_daemon_main(int argc, char **argv) { optind++; } - // Setup done, now every error leads to deny - err_handler = deny; - // Handle namespaces switch (su_ctx->info->mnt_ns) { case NAMESPACE_MODE_GLOBAL: