Code

sysdb: When using -c, exit non-zero if any command failed.
[sysdb.git] / src / tools / sysdb / command.h
index febf64f144a3c6f54ecee86d077531d14b414f76..bd9833828167de802c063c28e0878efdf06e3bf1 100644 (file)
@@ -36,7 +36,8 @@
  *
  * Returns:
  *  - 0 on success
- *  - a negative value else
+ *  - a negative value if no reply could be read from the server
+ *  - a positive value if the server returned an error
  */
 int
 sdb_command_print_reply(sdb_client_t *client);