Connmanctl returns the status of the last executed command. Update documentation to reflect this. --- doc/connmanctl.1.in | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/doc/connmanctl.1.in b/doc/connmanctl.1.in index 0f891bd..07320bd 100644 --- a/doc/connmanctl.1.in +++ b/doc/connmanctl.1.in @@ -231,6 +231,12 @@ Listens for added or removed vpn connections. Listens for the changes to vpn connections, for example connecting to a VPN. .PP .SH +EXIT STATUS +In single command mode, \fBconnmanctl\fR returns 0 on success and nonzero on +failure, and in interactive mode \fBconnmanctl\fR returns the status of the last +command. The nonzero exit codes correspond with standard errno values, see +\fBerrno.h\fR(3). +.SH EXAMPLE Listing available technologies: .PP -- 2.6.1 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman