Browse Source

fmt (#29)

* 解决warning

* 几个简单的systemctl命令

* 添加systemctl查看系统服务状态

* fmt
GnoCiYeH 1 year ago
parent
commit
d70ac4ed6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/executor/mod.rs

+ 1 - 1
src/executor/mod.rs

@@ -59,7 +59,7 @@ impl Executor {
                     .unit_base_mut()
                     .set_state(UnitState::Active);
                 Ok(())
-            },
+            }
             Err(e) => {
                 let mutex = UnitManager::get_unit_with_id(&unit_id).unwrap();
                 let mut unit = mutex.lock().unwrap();