mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-07 15:10:29 -04:00
platform: Add flag for testing validity of executable in root remote
This commit is contained in:
parent
ecb6026370
commit
af61f76b89
2 changed files with 81 additions and 16 deletions
|
@ -603,7 +603,7 @@ async fn create_config_interfaces(
|
|||
}
|
||||
|
||||
if let Some(config) = config.update_bios.as_ref() {
|
||||
match config.is_valid().await {
|
||||
match config.is_valid(true).await {
|
||||
Ok(true) => {
|
||||
object_server.at(MANAGER_PATH, update_bios).await?;
|
||||
}
|
||||
|
@ -613,7 +613,7 @@ async fn create_config_interfaces(
|
|||
}
|
||||
|
||||
if let Some(config) = config.update_dock.as_ref() {
|
||||
match config.is_valid().await {
|
||||
match config.is_valid(true).await {
|
||||
Ok(true) => {
|
||||
object_server.at(MANAGER_PATH, update_dock).await?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue