Skip to content
Snippets Groups Projects
Commit 5335a18f authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Fixes #72

parent 6dfaf863
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ run_cmd() {
# Checks if a file exists on the remote location
# $1: Path to the file to check on the server
dav_exists() {
curl --head --silent --location ${DOCSERVER}/${1} | grep HTTP | tail -n 1 | grep -q 200
curl --head --silent --user "${DOCUSER}:${DOCPASS}" --location ${DOCSERVER}/${1} | grep HTTP | tail -n 1 | grep -q 200
return $?
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment