API: '--get-branch' exit code is 1
Created by: cubanpit
Hi,
I am trying to use pacman-mirrors
in a script and I discovered the beautiful "API mode" that could help me in order to get the Manjaro branch of the users, the problem is that the command returns the right branch but exit with error code 1
.
This is not an expected behaviour and makes it less convenient to use the API in a script with set -e
enabled (exit at any error).
Manjaro stable up-to-date
pacman-mirrors 4.2.0