summaryrefslogtreecommitdiff
path: root/scripts/vyatta-commit-push.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-commit-push.pl')
-rwxr-xr-xscripts/vyatta-commit-push.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-commit-push.pl b/scripts/vyatta-commit-push.pl
index 1398533..17332d0 100755
--- a/scripts/vyatta-commit-push.pl
+++ b/scripts/vyatta-commit-push.pl
@@ -86,7 +86,7 @@ foreach my $uri (@uris) {
my $rc = 0;
if ($scheme =~ /^(scp|sftp)$/ ){
- $cmd = "curl -s -S -T $tmp_push_file $uri/$save_file";
+ $cmd = "curl -g -s -S -T $tmp_push_file $uri/$save_file";
$rc = system($cmd);
if( $rc >> 8 == 51 ){
my $rsa_key = `ssh-keyscan -t rsa $host 2>/dev/null`;
@@ -100,7 +100,7 @@ foreach my $uri (@uris) {
or die "Cannot open known_hosts: $!";
print $known_hosts "$rsa_key\n";
close($known_hosts);
- $cmd = "curl -s -S -T $tmp_push_file $uri/$save_file";
+ $cmd = "curl -g -s -S -T $tmp_push_file $uri/$save_file";
$rc = system($cmd);
print "\n";
}