From 29e48da3b91edd1eaa7f51f265aabc4beb42b291 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 7 Nov 2016 15:08:43 -0600 Subject: [PATCH] fix sftp xfers in zmfilter (#1677) --- scripts/zm.in | 0 scripts/zmfilter.pl.in | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 scripts/zm.in mode change 100755 => 100644 scripts/zmfilter.pl.in diff --git a/scripts/zm.in b/scripts/zm.in old mode 100755 new mode 100644 diff --git a/scripts/zmfilter.pl.in b/scripts/zmfilter.pl.in old mode 100755 new mode 100644 index e2ee7597f..edadd86c5 --- a/scripts/zmfilter.pl.in +++ b/scripts/zmfilter.pl.in @@ -552,9 +552,9 @@ sub uploadArchFile $sftpOptions{timeout} = $Config{ZM_UPLOAD_TIMEOUT} if $Config{ZM_UPLOAD_TIMEOUT}; my @more_ssh_args; - push @more_ssh_args, ['-o'=>'StrictHostKeyChecking=no'] - if ! $Config{ZM_UPLOAD_STRICT}; - push @more_ssh_args, ['-v'] + push @more_ssh_args, '-o'=>'StrictHostKeyChecking=no' + if ! $Config{ZM_UPLOAD_STRICT}; + push @more_ssh_args, '-v' if $Config{ZM_UPLOAD_DEBUG}; $sftpOptions{more} = [@more_ssh_args]; my $sftp = Net::SFTP::Foreign->new( $Config{ZM_UPLOAD_HOST}, %sftpOptions );