Commit 6a43b2dc authored by Johannes Barthel's avatar Johannes Barthel
Browse files

fix flipped boolean

parent ebbcf2fb
[package]
name = "freeswitch-watchdog"
version = "0.1.0"
version = "0.1.1"
authors = ["Johannes Barthel <johannes.barthel@student.kit.edu>"]
edition = "2018"
license = "MIT OR Apache-2.0"
......
......@@ -83,7 +83,7 @@ fn main() {
}
// check for freeswitch status
let is_err = is_freeswitch_working(&url);
let is_err = !is_freeswitch_working(&url);
if is_err {
println!("freeswitch is in invalid state");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment