diff options
Diffstat (limited to 'source4/torture/rpc/winreg.c')
-rw-r--r-- | source4/torture/rpc/winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 370a023dd5..2516c35276 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -826,7 +826,7 @@ BOOL torture_rpc_winreg(struct torture_context *torture) return False; } - if (!lp_parm_bool(-1, "torture", "dangerous", False)) { + if (!torture_setting_bool(torture, "dangerous", False)) { printf("winreg_InitiateShutdown disabled - enable dangerous tests to use\n"); } else { ret &= test_InitiateSystemShutdown(p, mem_ctx, "spottyfood", 30); |