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 e15ee23c37..14c18df370 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -770,7 +770,7 @@ BOOL torture_rpc_winreg(void) return False; } - if (lp_parm_int(-1, "torture", "dangerous") != 1) { + if (!lp_parm_bool(-1, "torture", "dangerous", False)) { printf("winreg_InitiateShutdown disabled - enable dangerous tests to use\n"); } else { ret &= test_InitiateSystemShutdown(p, mem_ctx, "spottyfood", 30); |