Small style fixes
This commit is contained in:
parent
e3789b2cdd
commit
65fe232bc3
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()
|
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue