mirror of
				https://github.com/topjohnwu/Magisk.git
				synced 2025-10-31 20:51:09 +00:00 
			
		
		
		
	Kill processes with SIGKILL rather than SIGTERM
This commit is contained in:
		| @@ -92,7 +92,7 @@ static void kill_process(const char *name, bool multi = false, | |||||||
|         bool (*filter)(int, const char *) = proc_name_match<&str_eql>) { |         bool (*filter)(int, const char *) = proc_name_match<&str_eql>) { | ||||||
|     crawl_procfs([=](int pid) -> bool { |     crawl_procfs([=](int pid) -> bool { | ||||||
|         if (filter(pid, name)) { |         if (filter(pid, name)) { | ||||||
|             kill(pid, SIGTERM); |             kill(pid, SIGKILL); | ||||||
|             return multi; |             return multi; | ||||||
|         } |         } | ||||||
|         return true; |         return true; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Wang Han
					Wang Han