mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
#2804 fix if syntax
This commit is contained in:
@@ -517,7 +517,7 @@ if [ ${isMounted} -eq 0 ]; then
|
|||||||
echo "Temp mounting (2) result: ${isMounted}" >> ${logFile}
|
echo "Temp mounting (2) result: ${isMounted}" >> ${logFile}
|
||||||
|
|
||||||
# check that HDD was temp mounted
|
# 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/^state=.*/state=errorHDD/g" ${infoFile}
|
||||||
sed -i "s/^message=.*/message='Was not able to mount HDD (2)'/g" ${infoFile}
|
sed -i "s/^message=.*/message='Was not able to mount HDD (2)'/g" ${infoFile}
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user