diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-03-01 17:02:27 +0000 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-03-01 17:02:27 +0000 |
commit | 9d70994598259ee202a035b4fc90d9da8f455bc6 (patch) | |
tree | 504b8fe00a6c749d5f840112ccc2c7455eba2683 | |
parent | 5e9eab5993ef10211aab9f84efe615e96c0f2152 (diff) | |
download | vyatta-cfg-9d70994598259ee202a035b4fc90d9da8f455bc6.tar.gz vyatta-cfg-9d70994598259ee202a035b4fc90d9da8f455bc6.zip |
Fix curl command in save
-rwxr-xr-x | scripts/vyatta-save-config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"; } } |