From 00c7f9eed81866568abe1ec8a908fb4bc9274b59 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 31 Dec 2004 01:02:22 +0000 Subject: r4422: make lp_set_cmdline("torture:dangerous", "Yes") a bool parameter metze (This used to be commit 19482a2245abbf9154423ca8997957b56333fba2) --- source4/torture/rpc/winreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/rpc/winreg.c') 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); -- cgit