mirror of
https://github.com/egor-white/zaprett.git
synced 2026-01-29 05:59:45 +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