diff options
Diffstat (limited to 'src/star.rs')
-rw-r--r-- | src/star.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/star.rs b/src/star.rs index 7d3c21d..75368cd 100644 --- a/src/star.rs +++ b/src/star.rs @@ -67,9 +67,9 @@ impl Star { let c = Connect::open(&url.clone())?; let remote = if url.contains("qemu:///") || url.contains("localhost") || url.contains("127.0.0.1") { - true - } else { false + } else { + true }; // If the connection succeeds, we've got one! @@ -203,8 +203,6 @@ impl Star { let buf = String::from_utf8(buf).unwrap(); - println!("{}", buf); - let dom: Domain = match &self.con { Some(c) => { let dom = Domain::define_xml(&c, &buf)?; |