aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sys.c')
-rw-r--r--kernel/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index fdad206165d0..c5cb5b99cb81 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -2205,7 +2205,7 @@ static int __orderly_poweroff(void)
2205 return -ENOMEM; 2205 return -ENOMEM;
2206 } 2206 }
2207 2207
2208 ret = call_usermodehelper_fns(argv[0], argv, envp, UMH_NO_WAIT, 2208 ret = call_usermodehelper_fns(argv[0], argv, envp, UMH_WAIT_EXEC,
2209 NULL, argv_cleanup, NULL); 2209 NULL, argv_cleanup, NULL);
2210 if (ret == -ENOMEM) 2210 if (ret == -ENOMEM)
2211 argv_free(argv); 2211 argv_free(argv);