From b3dd615eded415e3c905de292e599c48f9750343 Mon Sep 17 00:00:00 2001 From: robocopAlpha Date: Wed, 21 Jul 2021 06:40:37 +0300 Subject: [PATCH] error message when failing to mount dropbox --- pull.lists.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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