aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornotgne22020-12-27 10:51:15 -0700
committernotgne22020-12-27 10:51:15 -0700
commitccf5160c1f17b908a29a0b85f424114399a99790 (patch)
treebd25d9d395e87f680e5d37d5a4030406e7ceabde /src
parentd01eab0e97c87d503e23f56cd9d68286630f1a42 (diff)
parent91e934fd9e1e06044f75a3e3ad998813c2a90fb5 (diff)
Merge branch 'master' into notgne2/fix-settings-merge
Diffstat (limited to 'src')
-rw-r--r--src/utils/push.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/push.rs b/src/utils/push.rs
index b0a8b2f..503e062 100644
--- a/src/utils/push.rs
+++ b/src/utils/push.rs
@@ -134,7 +134,7 @@ pub async fn push_profile(
let mut copy_command_ = Command::new("nix");
let mut copy_command = copy_command_.arg("copy");
- if let Some(true) = deploy_data.merged_settings.fast_connection {
+ if deploy_data.merged_settings.fast_connection != Some(true) {
copy_command = copy_command.arg("--substitute-on-destination");
}