mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Remove existing /tmp/raspap_install.log
This commit is contained in:
parent
ffafcf2c83
commit
99fd2f8ce7
@ -187,6 +187,9 @@ function _setup_colors() {
|
|||||||
|
|
||||||
function _log_output() {
|
function _log_output() {
|
||||||
readonly LOGFILE_PATH="/tmp"
|
readonly LOGFILE_PATH="/tmp"
|
||||||
|
if [ -f "$LOGFILE_PATH/raspap_install.log" ]; then
|
||||||
|
rm "$LOGFILE_PATH/raspap_install.log"
|
||||||
|
fi
|
||||||
exec > >(tee -i $LOGFILE_PATH/raspap_install.log)
|
exec > >(tee -i $LOGFILE_PATH/raspap_install.log)
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user