Make temp logfile name unique to prevent permission error (#56)

This commit is contained in:
Arjan H
2022-09-04 09:13:32 +02:00
parent 1a321e2091
commit ab2cfcdedb

View File

@@ -90,7 +90,7 @@ msg_fatal() {
#
start_temporary_log() {
backupLog=$installLog
installLog="/tmp/labca-install.log"
installLog="/tmp/labca-install-$$.log"
touch "$installLog"
}