diff --git a/run/rclone_archive/verify-archive-configuration.sh b/run/rclone_archive/verify-archive-configuration.sh index 7b89e75..38c5303 100644 --- a/run/rclone_archive/verify-archive-configuration.sh +++ b/run/rclone_archive/verify-archive-configuration.sh @@ -2,6 +2,12 @@ function verify_configuration () { echo "Verifying rlcone configuration..." + if ! [ -e "/root/.config/rclone/rclone.conf" ] + then + echo "STOP: rclone config was not found. did you configure rclone correctly?" + exit 1 + fi + if ! rclone lsd "$RCLONE_DRIVE": | grep -q "$RCLONE_PATH" then echo "STOP: Could not find the $RCLONE_DRIVE:$RCLONE_PATH"