romankuchin / ica0002-2024

16 stars 5 forks source link

Fix agama-client #12

Closed Raul-Teinberg closed 1 month ago

Raul-Teinberg commented 1 month ago

Fix agama-client not working

romankuchin commented 1 month ago

Just spaces around {} were missing. Typo.

You can't remove space from content:

root@romankuchin-2:~# H=$(hostname)
root@romankuchin-2:~# echo ${H}
romankuchin-2
root@romankuchin-2:~# echo ${H: -3}  <--- space is required to get last 3 chars  
n-2
root@romankuchin-2:~# echo ${H:-3}
romankuchin-2
Raul-Teinberg commented 1 month ago

Ok, thank you for fixing it anyway, just ran it and tested, can confirm it's now working! 💯