diff options
Diffstat (limited to 'src/bin/server/main.rs')
| -rw-r--r-- | src/bin/server/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/server/main.rs b/src/bin/server/main.rs index 85e3134..f42574d 100644 --- a/src/bin/server/main.rs +++ b/src/bin/server/main.rs | |||
| @@ -40,9 +40,9 @@ fn main() { | |||
| 40 | let db_path = std::env::var("SERVER_DB").unwrap_or_else(|_| "server.db".to_string()); | 40 | let db_path = std::env::var("SERVER_DB").unwrap_or_else(|_| "server.db".to_string()); |
| 41 | match zagan_bet::server::core::recover_orphaned_reservations(&db_path) { | 41 | match zagan_bet::server::core::recover_orphaned_reservations(&db_path) { |
| 42 | Ok(0) => {} | 42 | Ok(0) => {} |
| 43 | Ok(count) => println!( | 43 | Ok(count) => { |
| 44 | "Settled {count} orphaned reservation(s) as abandoned after a restart" | 44 | println!("Settled {count} orphaned reservation(s) as abandoned after a restart") |
| 45 | ), | 45 | } |
| 46 | Err(error) => { | 46 | Err(error) => { |
| 47 | eprintln!("Failed to settle orphaned reservations in {db_path}: {error}"); | 47 | eprintln!("Failed to settle orphaned reservations in {db_path}: {error}"); |
| 48 | std::process::exit(1); | 48 | std::process::exit(1); |
