mirror of
https://github.com/egor-white/zaprett.git
synced 2025-12-10 05:19:42 +05:00
fix stop service
This commit is contained in:
@@ -77,7 +77,7 @@ pub async fn stop_service() -> anyhow::Result<()> {
|
||||
bail!("Running not from root, exiting");
|
||||
};
|
||||
|
||||
if service_status().await.unwrap() {
|
||||
if !service_status().await.unwrap() {
|
||||
bail!("zaprett service alreeady stopped")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user