From 13b1b7d49394f9d82f8e53e3559ddbe1155e9dbb Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 6 Feb 2024 00:00:25 +0100 Subject: [PATCH] removed unecessary trigger --- cleanup-all.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cleanup-all.sh b/cleanup-all.sh index e9a6c0c..734febe 100755 --- a/cleanup-all.sh +++ b/cleanup-all.sh @@ -1,8 +1,5 @@ #!/bin/bash -# Define trigger directory argument as TRIGGER_DIR -TRIGGER_DIR="$2" - # Get the absolute path of the directory where the current script is located SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" @@ -29,7 +26,7 @@ for BACKUP_FOLDER_PATH in "$MAIN_DIRECTORY"/*; do echo "Running cleanup script for folder: $BACKUP_FOLDER" # Call the cleanup script - "$CLEANUP_SCRIPT" "$BACKUP_FOLDER" "$TRIGGER_DIR" + "$CLEANUP_SCRIPT" "$BACKUP_FOLDER" else echo "Directory $BACKUP_FOLDER_PATH/backup-docker-to-local not found." fi