Blame SOURCES/sblim-wbemcli-1.6.3-fix-exit-status.patch

8e68b4
diff -up sblim-wbemcli-1.6.3/main.cpp.orig sblim-wbemcli-1.6.3/main.cpp
8e68b4
--- sblim-wbemcli-1.6.3/main.cpp.orig	2019-08-21 11:27:58.881274422 +0200
8e68b4
+++ sblim-wbemcli-1.6.3/main.cpp	2019-08-21 11:27:58.886274433 +0200
8e68b4
@@ -655,5 +655,5 @@ fini:
8e68b4
    // These needs to be called once
8e68b4
    curl_global_cleanup();
8e68b4
 #endif
8e68b4
-   return 0;
8e68b4
+   return retval;
8e68b4
 }
8e68b4
diff -up sblim-wbemcli-1.6.3/man/wbemcli.1.pre.in.orig sblim-wbemcli-1.6.3/man/wbemcli.1.pre.in
8e68b4
--- sblim-wbemcli-1.6.3/man/wbemcli.1.pre.in.orig	2019-08-21 11:27:58.883274426 +0200
8e68b4
+++ sblim-wbemcli-1.6.3/man/wbemcli.1.pre.in	2019-08-21 11:27:58.886274433 +0200
8e68b4
@@ -565,6 +565,11 @@ remote SSL protocol version.
8e68b4
 .TP
8e68b4
 .I @CACERT@
8e68b4
 The default CA certificate file. Can be overriden with \-cacert.
8e68b4
+.SH EXIT CODES
8e68b4
+.IP 0
8e68b4
+Normal termination.
8e68b4
+.IP 16
8e68b4
+Abnormal termination, see diagnostics printed to the standard error.
8e68b4
 .SH AUTHOR
8e68b4
 Adrian Schuur <schuur@de.ibm.com>
8e68b4
 .SH BUGS