From edcfc7d6708eab4e716dc523bc9d0a4acbbd212f Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Mon, 5 May 2025 02:09:03 -0600 Subject: [PATCH] Add shebang to backup command script in utils.ts - Introduced a shebang line to the backup command script for improved compatibility and execution in a bash environment. - This change enhances the script's portability and ensures it runs correctly in various shell contexts. --- packages/server/src/utils/backups/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/utils/backups/utils.ts b/packages/server/src/utils/backups/utils.ts index 0d4471f6..67cf097d 100644 --- a/packages/server/src/utils/backups/utils.ts +++ b/packages/server/src/utils/backups/utils.ts @@ -220,6 +220,7 @@ export const getBackupCommand = ( const containerSearch = getContainerSearchCommand(backup); const backupCommand = generateBackupCommand(backup); return ` + #!/bin/bash set -eo pipefail; echo "[$(date)] Starting backup process..." >> ${logPath}; echo "[$(date)] Executing backup command..." >> ${logPath};