diff options
| -rw-r--r-- | shim.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1744,11 +1744,12 @@ shim_fini(void) uninstall_shim_protocols(); if (secure_mode()) { - - /* - * Remove our hooks from system services. - */ - unhook_system_services(); + if (vendor_authorized_size || vendor_deauthorized_size) { + /* + * Remove our hooks from system services. + */ + unhook_system_services(); + } } unhook_exit(); |
