diff --git a/pull.lists.sh b/pull.lists.sh index d6e7766..25280cf 100755 --- a/pull.lists.sh +++ b/pull.lists.sh @@ -23,8 +23,7 @@ if [[ -d "${HOME_DIR}/dropbox" ]]; then else mkdir "${HOME_DIR}/dropbox" fi -rclone mount --daemon dropbox:blocklist "${HOME_DIR}/dropbox" --volname dropbox - +rclone mount --daemon dropbox:blocklist "${HOME_DIR}/dropbox" --volname dropbox || { echo "Failed to mount dropbox. Execution terminated!"; exit 1; } cd "${WRK_DIR}/" echo $(date +%d.%m.%y-%H:%M:%S) >| lastpull