Fix checks for running software to account for no-nlsr.

Refs: #4640

Change-Id: Ie4086856d1b9d4f50e99aae917718233156f8fb9
diff --git a/bin/minindn b/bin/minindn
index 8d8d93d..f4cdf4e 100755
--- a/bin/minindn
+++ b/bin/minindn
@@ -454,7 +454,7 @@
             print(host.cmd("cat {}/nfd.log".format(host.homeFolder)))
             net.stop()
             sys.exit(1)
-        if (not host.nlsr.isRunning or not nlsrStatus) and options.isNlsrEnabled:
+        if options.isNlsrEnabled and (not host.nlsr.isRunning or not nlsrStatus):
             print("NLSR on host {} is not running. Printing log file and exiting...".format(host.name))
             print(host.cmd("cat {}/log/nlsr.log".format(host.homeFolder)))
             net.stop()