aboutsummaryrefslogtreecommitdiff
path: root/src/utils/push.rs
diff options
context:
space:
mode:
authornotgne22020-09-28 15:45:53 -0700
committernotgne22020-09-28 15:45:53 -0700
commit239d0f8999b47e9e76589ee1fa2d9f3459c47335 (patch)
treed9fa64da2385dcb3cf254a92e00fa92d2431c155 /src/utils/push.rs
parenta22063343e54da9f589c7235f2f64b57fe5c257b (diff)
use separate binary for activation, more cleanup
Diffstat (limited to 'src/utils/push.rs')
-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 54ae013..0e1b9ba 100644
--- a/src/utils/push.rs
+++ b/src/utils/push.rs
@@ -74,7 +74,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) = merged_settings.fast_connection {
+ if merged_settings.fast_connection {
copy_command = copy_command.arg("--substitute-on-destination");
}