mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
#2804 fix if syntax
This commit is contained in:
parent
0067437724
commit
a62f20c894
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue