diff --git a/libsysinspect/src/intp/actproc/response.rs b/libsysinspect/src/intp/actproc/response.rs index 1a80d3c..998caac 100644 --- a/libsysinspect/src/intp/actproc/response.rs +++ b/libsysinspect/src/intp/actproc/response.rs @@ -123,7 +123,7 @@ impl ActionResponse { /// Return state Id of the action pub fn sid(&self) -> &str { - if self.sid.eq("") { + if self.sid.is_empty() { "$" } else { &self.sid