Exit 1 on daemon connection failure
This commit is contained in:
parent
6c2e0dbbc1
commit
ff756da2c5
1 changed files with 3 additions and 2 deletions
|
@ -72,8 +72,9 @@ fn main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
println!("Failed to connect to the eww daemon.");
|
eprintln!("Failed to connect to the eww daemon.");
|
||||||
println!("Make sure to start the eww daemon process by running `eww daemon` first.");
|
eprintln!("Make sure to start the eww daemon process by running `eww daemon` first.");
|
||||||
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue