The retrycount counter is currently not incremented, so in the situation
when this command fails, library enters infinite loop of executing this
command, which is bad.
This commit adds missing counter incrementation with the same style as
in basecommands and make it return current @info in case of a faliure,
so all methods accessing it will just get return nil.
Coverage remained the same at 100.0% when pulling 8c101921d2c5ac47f3077c6a0139f3fc1f8bb869 on mateusz-gozdek-sociomantic:fix-lan-print-infinite-loop into 5afa8097ad7895ab792a764bdddc9b97d5b78724 on logicminds:master.
The retrycount counter is currently not incremented, so in the situation when this command fails, library enters infinite loop of executing this command, which is bad.
This commit adds missing counter incrementation with the same style as in basecommands and make it return current @info in case of a faliure, so all methods accessing it will just get return nil.