Remove error handler

This commit is contained in:
topjohnwu 2017-10-13 04:42:30 +08:00
parent 1a702b08b9
commit 6b7b71b1f8

3
su.c
View File

@ -307,9 +307,6 @@ int su_daemon_main(int argc, char **argv) {
optind++; optind++;
} }
// Setup done, now every error leads to deny
err_handler = deny;
// Handle namespaces // Handle namespaces
switch (su_ctx->info->mnt_ns) { switch (su_ctx->info->mnt_ns) {
case NAMESPACE_MODE_GLOBAL: case NAMESPACE_MODE_GLOBAL: