expand curl cmd for self signed certificate

This commit is contained in:
Marko Oldenburg 2020-11-02 21:48:00 +01:00
parent c897299103
commit f0da4a3e70

View File

@ -513,7 +513,7 @@ sub ExecuteNCupload {
my $subprocess = shift;
my $command = $subprocess->{curl};
$command .= ' -u ';
$command .= ' -k -u ';
$command .= $subprocess->{user} . ':' . $subprocess->{pass};
$command .= ' -T ' . $subprocess->{backupfile};
$command .= ' "' . $subprocess->{proto} . '://';