shermand100 / PiNodeXMR

Monero Node for Single Board Computers with Web Interface and additional tools pre-configured. Self Installing.
GNU General Public License v3.0
213 stars 40 forks source link

Updating Monero on node results in small syntax error at start #71

Closed ChiefGyk3D closed 2 years ago

ChiefGyk3D commented 2 years ago
2022-06-10 14:34:25 (1.48 MB/s) - ‘/home/pinodexmr/new-ver-pi.sh’ saved [33/33]

Update system version number
Success
Cleanup leftover directories
Success
bash: line 279: syntax error near unexpected token `else'
bash: line 279: `   else'
rm: cannot remove '/home/pinodexmr/new-ver-pi.sh': No such file or directory

I replicated this on both of my nodes doing the monero update via setup when updating to .17.3.2 to prepare for .18 coming out soon for testing

shermand100 commented 2 years ago

Thanks for that good spot.

Closing 'fi' for 'if statement' missing from line 259 was culprit.

https://github.com/monero-ecosystem/PiNode-XMR/commit/15a73739a0f48a40be718d477489ecfa4e63d8d9

Other minor formatting changes in same commit.

I can re-open if you still encounter this error