Compare commits

..

No commits in common. "5b0a445751243702370acfb4c511e4dc7158cdb7" and "b9dfbb89d13b756dbfc23aef1708e23a1a3d4b3f" have entirely different histories.

View File

@ -22,12 +22,9 @@ webuiUpdateAppLog()
echo "=== LibrePortal Installation Started at $(date) ===" | runFileWrite "${log_file}" > /dev/null
fi
elif [[ "$type" == "uninstall" ]]; then
# Remove app log file via runFileOp (as the container-data owner) with
# -f: the log can be write-protected, and a bare rm prompts
# interactively for write-protected files, which hangs an unattended
# deploy (the uninstall phase of a 'full' redeploy).
# Remove app log file
if [ -f "${log_file}" ]; then
local result=$(runFileOp rm -f "${log_file}")
local result=$(rm "${log_file}")
checkSuccess "Removed ${app_name}.log"
fi
fi