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

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