diff --git a/lib/include/logger.sh b/lib/include/logger.sh index 46ea8c7..fcc8dde 100644 --- a/lib/include/logger.sh +++ b/lib/include/logger.sh @@ -31,7 +31,7 @@ function _log() { then if ! tail -n 2000 "$logfile" > "$logfile".tmp then - echo -ne "${ts}ERROR: FAILED TO TAIL LOGFILE. COULD NOT CREATE TMP FILE." > "$logfile" + echo -e "${ts}ERROR: FAILED TO TAIL LOGFILE. COULD NOT CREATE TMP FILE." > "$logfile" else mv "$logfile".tmp "$logfile" fi