diff --git a/src/xmrig.rs b/src/xmrig.rs index e843e80..084aad7 100644 --- a/src/xmrig.rs +++ b/src/xmrig.rs @@ -209,7 +209,7 @@ impl Xmrig { if self.rig.is_empty() { text = format!(" Rig [ {}/30 ]➖", len); color = LIGHT_GRAY; - } else if Regex::is_match(®ex.name, &self.name) { + } else if Regex::is_match(®ex.name, &self.rig) { text = format!(" Rig [ {}/30 ]✔", len); color = GREEN; } else {