mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-24 03:58:19 -08:00
Modernize code base
This commit is contained in:
@@ -54,11 +54,11 @@ int launch_magiskhide() {
|
||||
pthread_mutex_init(&list_lock, nullptr);
|
||||
|
||||
// Initialize the hide list
|
||||
if (init_list())
|
||||
if (!init_list())
|
||||
goto error;
|
||||
|
||||
// Add SafetyNet by default
|
||||
add_list(strdup("com.google.android.gms.unstable"));
|
||||
add_list("com.google.android.gms.unstable");
|
||||
|
||||
// Get thread reference
|
||||
proc_monitor_thread = pthread_self();
|
||||
|
||||
Reference in New Issue
Block a user