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.
This commit is contained in:
Mauricio Siu 2025-05-05 02:09:03 -06:00
parent 6277ebaaec
commit edcfc7d670

View File

@ -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};