summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-03-01 17:02:27 +0000
committerJohn Southworth <john.southworth@vyatta.com>2012-03-01 17:02:27 +0000
commit9d70994598259ee202a035b4fc90d9da8f455bc6 (patch)
tree504b8fe00a6c749d5f840112ccc2c7455eba2683
parent5e9eab5993ef10211aab9f84efe615e96c0f2152 (diff)
downloadvyatta-cfg-9d70994598259ee202a035b4fc90d9da8f455bc6.tar.gz
vyatta-cfg-9d70994598259ee202a035b4fc90d9da8f455bc6.zip
Fix curl command in save
-rwxr-xr-xscripts/vyatta-save-config.pl2
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";
}
}