s3-smbcontrol: Replace && with || to declare variables in do_sleep()
[metze/samba/wip.git] / source3 / utils / smbcontrol.c
index 7a761a6ff5946c7b07406e1dd1368d24a5a222e0..b2aa1dfa2a684ac1909202a478acb5535d8d73eb 100644 (file)
@@ -415,7 +415,7 @@ static bool do_sleep(struct tevent_context *ev_ctx,
                     const struct server_id pid,
                     const int argc, const char **argv)
 {
-#if defined(DEVELOPER) && defined(ENABLE_SELFTEST)
+#if defined(DEVELOPER) || defined(ENABLE_SELFTEST)
        unsigned int seconds;
        long input;
        const long MAX_SLEEP = 60 * 60; /* One hour maximum sleep */