committed by
GitHub
parent
6021a551ac
commit
8ce55f4c31
@@ -149,13 +149,14 @@ pub fn run_remote_topgrade(
|
||||
hostname: &str,
|
||||
ssh_arguments: &Option<String>,
|
||||
run_in_tmux: bool,
|
||||
_tmux_arguments: &Option<String>,
|
||||
) -> Result<(), Error> {
|
||||
let ssh = utils::require("ssh")?;
|
||||
|
||||
if run_in_tmux && !run_type.dry() {
|
||||
#[cfg(unix)]
|
||||
{
|
||||
crate::tmux::run_remote_topgrade(hostname, &ssh)?;
|
||||
crate::tmux::run_remote_topgrade(hostname, &ssh, _tmux_arguments)?;
|
||||
Err(ErrorKind::SkipStep.into())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user