diff options
-rw-r--r-- | sos/policies/redhat.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index 3b6ab7cd..8f86f5b6 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -300,6 +300,10 @@ support representative. return False def probe_preset(self): + # Emergency or rescue mode? + for target in ["rescue", "emergency"]: + if self.init_system.is_running("%s.target" % target): + return self.find_preset(CB) # Package based checks if self.pkg_by_name("satellite-common") is not None: return self.find_preset(RH_SATELLITE) |