mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update install.sh
This commit is contained in:
parent
a14d677196
commit
c0d8b5f8e3
@ -126,6 +126,7 @@ debug_log() {
|
|||||||
echo "[$timestamp] $message" | tee -a "$LOG_FILE"
|
echo "[$timestamp] $message" | tee -a "$LOG_FILE"
|
||||||
"$@" 2>&1 | tee -a "$LOG_FILE"
|
"$@" 2>&1 | tee -a "$LOG_FILE"
|
||||||
else
|
else
|
||||||
|
# ❯❯❯
|
||||||
# No terminal output, only log file
|
# No terminal output, only log file
|
||||||
echo "[$timestamp] COMMAND: $@" >> "$LOG_FILE"
|
echo "[$timestamp] COMMAND: $@" >> "$LOG_FILE"
|
||||||
"$@" > /dev/null 2>&1
|
"$@" > /dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user