This commit is contained in:
Robin Appelman 2021-10-06 20:02:04 +02:00
commit fc54a8faef

View file

@ -193,6 +193,7 @@ async fn run_loop(
async fn start(cloud: &dyn Cloud, config: &Config) -> Result<Server, Error> {
let list = cloud.list().await?;
if !list.is_empty() {
eprintln!("Non empty server list while starting: {:?}", list);
return Err(Error::AlreadyRunning);
}