Small style fixes

This commit is contained in:
Kirill Bulatov 2025-08-25 23:03:02 +03:00
parent e3789b2cdd
commit 65fe232bc3
2 changed files with 4 additions and 4 deletions

View file

@ -49,6 +49,7 @@ fn main() -> anyhow::Result<()> {
if let Some(command) = cli.command { if let Some(command) = cli.command {
remote_server::run(command) remote_server::run(command)
} else { } else {
Err(anyhow::anyhow!("usage: remote <run|proxy|version>")) eprintln!("usage: remote <run|proxy|version>");
std::process::exit(1);
} }
} }

View file

@ -789,9 +789,8 @@ fn spawn_server(paths: &ServerPaths) -> Result<(), SpawnServerError> {
return Err(SpawnServerError::LaunchStatus { return Err(SpawnServerError::LaunchStatus {
status, status,
paths: format!( paths: format!(
"log file: {}, pid file: {}", "log file: {:?}, pid file: {:?}",
paths.log_file.display(), paths.log_file, paths.pid_file,
paths.pid_file.display()
), ),
}); });
} }