mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
#2804 fix if syntax
This commit is contained in:
parent
0067437724
commit
a62f20c894
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user