diff options
author | notgne2 | 2020-10-13 19:06:40 -0700 |
---|---|---|
committer | notgne2 | 2020-10-13 19:06:40 -0700 |
commit | ea717911bac5ff29d730d80d4b774fe17ed1e851 (patch) | |
tree | 560b1b66fe9109c5781ecf2ad5f2637939163922 /src/utils/push.rs | |
parent | 3bd43f92e6c59f65b6120886c4ee75b6a9391522 (diff) |
Clean up some CLI arguments, make magic rollback optional
Diffstat (limited to 'src/utils/push.rs')
-rw-r--r-- | src/utils/push.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/push.rs b/src/utils/push.rs index 3f48d68..f80f9f8 100644 --- a/src/utils/push.rs +++ b/src/utils/push.rs @@ -80,7 +80,7 @@ pub async fn push_profile( let mut copy_command_ = Command::new("nix"); let mut copy_command = copy_command_.arg("copy"); - if deploy_data.merged_settings.fast_connection { + if let Some(true) = deploy_data.merged_settings.fast_connection { copy_command = copy_command.arg("--substitute-on-destination"); } |