msc: bail out if subscriber VTY command fails

This patch adds several messages that would be displayed if:

* the Ki argument is missing.
* you pass an invalid Ki.
* the database fails to perform the operation (add/delete/update).

Before this patch, no messages were spotted on this errors.

I noticed this while adding Ki to the existing subscribers in the
nanoBTS setup: I introduced a wrong Ki but the VTY command line did
not report any error. A quick look at the database via sqlite
command confirmed that the new authkey information was not added.
1 file changed
tree: a0c2c879a20406c434ada77cd6014c3e7b14e80d
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/
  5. README