From 9d70994598259ee202a035b4fc90d9da8f455bc6 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Thu, 1 Mar 2012 17:02:27 +0000 Subject: Fix curl command in save --- scripts/vyatta-save-config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vyatta-save-config.pl b/scripts/vyatta-save-config.pl index 913a44c..8695d53 100755 --- a/scripts/vyatta-save-config.pl +++ b/scripts/vyatta-save-config.pl @@ -139,7 +139,7 @@ if ($mode eq 'url') { or die "Cannot open known_hosts: $!"; print $known_hosts "$rsa_key\n"; close($known_hosts); - $rc = system("curl -# -o $url_tmp_file $save_file"); + $rc = system("curl -# -T $url_tmp_file $save_file"); print "\n"; } } -- cgit v1.2.3