Fix rclone cert issue
This commit is contained in:
parent
a03d4437e2
commit
16496dfded
|
@ -11,7 +11,7 @@ base_dir="${project}:${bucket}"
|
|||
stat_dir="/opt/statistics"
|
||||
customer_dir="${stat_dir}/${location}"
|
||||
mkdir -p "${customer_dir}"
|
||||
rclone mkdir "${base_dir}/${location}"
|
||||
rclone mkdir --no-check-certificate --webdav-headers "Host,sunet.drive.sunet.se" --use-cookies "${base_dir}/${location}"
|
||||
echo "${userjson}" | jq . >"${customer_dir}/users.json"
|
||||
status=${?}
|
||||
if [[ ${status} -eq 0 ]]; then
|
||||
|
|
Loading…
Reference in a new issue