#4118 better debug

This commit is contained in:
rootzoll 2023-12-19 00:08:29 +01:00
parent de18ad8b36
commit 5062bfe95a

View file

@ -566,7 +566,7 @@ if [ ${isMounted} -eq 0 ]; then
# run formatting
error=""
/home/admin/_cache.sh set state "formathdd"
echo "Running Format: (${filesystem}) (${hddCandidate})" >> ${logFile}
echo "Running Format: filesystem(${filesystem}) hddCandidate(${hddCandidate})" >> ${logFile}
source <(sudo /home/admin/config.scripts/blitz.datadrive.sh format ${filesystem} ${hddCandidate})
if [ "${error}" != "" ]; then
echo "FAIL ON FORMATTING THE DRIVE:" >> ${logFile}