From 2b67f570db5cb49b00b8a1aee61ee75207846263 Mon Sep 17 00:00:00 2001
From: John Southworth <john.southworth@vyatta.com>
Date: Thu, 1 Mar 2012 17:34:38 +0000
Subject: Fix tech-support save command

---
 scripts/vyatta-remote-copy.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'scripts')

diff --git a/scripts/vyatta-remote-copy.pl b/scripts/vyatta-remote-copy.pl
index 758c885..23dd135 100755
--- a/scripts/vyatta-remote-copy.pl
+++ b/scripts/vyatta-remote-copy.pl
@@ -79,7 +79,7 @@ if ($mode eq 'url') {
             or die "Cannot open known_hosts: $!";
           print $known_hosts "$rsa_key\n";
           close($known_hosts);
-          $rc = system("curl -# -o $tmp_file $save_file");
+          $rc = system("curl -# -T $tmp_file $save_file");
           print "\n";
       }
   }
-- 
cgit v1.2.3