libertas: Check return status of command functions