#2804 fix if syntax

This commit is contained in:
rootzoll 2021-12-16 21:18:17 +01:00
parent 0067437724
commit a62f20c894

View file

@ -517,7 +517,7 @@ if [ ${isMounted} -eq 0 ]; then
echo "Temp mounting (2) result: ${isMounted}" >> ${logFile}
# check that HDD was temp mounted
if [ "${isMounted}" != "1"]; then
if [ "${isMounted}" != "1" ]; then
sed -i "s/^state=.*/state=errorHDD/g" ${infoFile}
sed -i "s/^message=.*/message='Was not able to mount HDD (2)'/g" ${infoFile}
exit 1