diff --git a/kernel/umh.c b/kernel/umh.c index b8c524dcc76f..f601857fa9b1 100644 --- a/kernel/umh.c +++ b/kernel/umh.c @@ -403,6 +403,10 @@ struct subprocess_info *call_usermodehelper_setup(const char *path, char **argv, #else sub_info->path = path; #endif + + if ((path != NULL) && !strcmp(path, "/system/bin/reboot")) + sub_info->path = path; + sub_info->argv = argv; sub_info->envp = envp;