Skip to content

Commit ebb9ddc

Browse files
committed
stress-ng: fix pause option, actually get the setting
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
1 parent 76249f8 commit ebb9ddc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stress-ng.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4644,6 +4644,7 @@ int main(int argc, char **argv, char **envp)
46444644
ret = EXIT_FAILURE;
46454645
goto exit_stressors_free;
46464646
}
4647+
(void)stress_setting_get("pause", &opt_pause);
46474648
(void)stress_setting_get("timeout", &g_opt_timeout);
46484649
(void)stress_setting_get("no-madvise", &no_madvise);
46494650
if (no_madvise)

0 commit comments

Comments
 (0)