aboutsummaryrefslogtreecommitdiff
path: root/src/van.rs
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-05-19 14:56:35 -0400
committerCara Salter <cara@devcara.com>2022-05-19 14:56:35 -0400
commit38114b3dfabb3a57f80c86f86099a714986f58eb (patch)
tree2ab766d7045f368b4cdbb17232e470bb92094dd4 /src/van.rs
parentc06184b2ff121ad829db9cc65e92af56f66d442e (diff)
downloadsolarlib-38114b3dfabb3a57f80c86f86099a714986f58eb.tar.gz
solarlib-38114b3dfabb3a57f80c86f86099a714986f58eb.zip
house: Add "remote" flag
Let's us figure out if a House is remote or not, because if it's not we shouldn't be using SSH to connect.
Diffstat (limited to 'src/van.rs')
-rw-r--r--src/van.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/van.rs b/src/van.rs
index 7024f73..64e7295 100644
--- a/src/van.rs
+++ b/src/van.rs
@@ -52,7 +52,7 @@ impl Van {
}
pub async fn download(&self, target: String) -> Result<(), Error> {
- let mut output = Command::new("ssh")
+ let output = Command::new("ssh")
.args([
"-oStrictHostKeyChecking=accept-new",
&target.clone(),