From 3172527f5a66811b5670091ea5c1b9ea4eaf1afe Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Tue, 20 Apr 2021 13:21:15 -0400
Subject: [PATCH] Fix a warning about a condition always being true

---
 indra/llplugin/llpluginprocessparent.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp
index 15242f74038..3c6f8f74d18 100644
--- a/indra/llplugin/llpluginprocessparent.cpp
+++ b/indra/llplugin/llpluginprocessparent.cpp
@@ -154,9 +154,9 @@ void LLPluginProcessParent::shutdown()
     {
         EState state = (*it).second->mState;
         if (state != STATE_CLEANUP
-            || state != STATE_EXITING
-            || state != STATE_DONE
-            || state != STATE_ERROR)
+            && state != STATE_EXITING
+            && state != STATE_DONE
+            && state != STATE_ERROR)
         {
             (*it).second->setState(STATE_GOODBYE);
         }
-- 
GitLab