style(debian): add -e flag to echo commands in log functions

Enable interpretation of backslash escapes in log messages across all debian scripts for consistent formatting and proper escape sequence handling
This commit is contained in:
2026-02-15 17:52:34 +00:00
parent 456262ca65
commit 64883d4f02
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ log() {
local timestamp=$(date '+%Y-%m-%d %H:%M:%S')
# Escreve no ficheiro de log
echo "$timestamp: $message" | tee -a "$LOG_FILE"
echo -e "$timestamp: $message" | tee -a "$LOG_FILE"
# Envia para o syslog (opcional)
logger -t "debian_upgrade" "$message"