summaryrefslogtreecommitdiff
path: root/util/iserial.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-03 02:33:48 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-03 02:33:48 +0100
commit96376f0df63c5df8c1380f0dd58b70d33566d48e (patch)
tree5c9eb82320f601e2f7637d36e58dd783d38a5914 /util/iserial.c
parent62a52f983e23e7b63b6bd5db6bd1f08a0259002a (diff)
parentf85b8b834b7ff85c80503faa73f237040330087b (diff)
Merge tag 'upstream/3.0.1'
Upstream version 3.0.1
Diffstat (limited to 'util/iserial.c')
-rw-r--r--util/iserial.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/iserial.c b/util/iserial.c
index 579d19d..e0cc7e9 100644
--- a/util/iserial.c
+++ b/util/iserial.c
@@ -155,7 +155,7 @@ typedef struct
/*
* Global variables
*/
-static char * progver = "3.00";
+static char * progver = "3.01";
static char * progname = "iserial";
static int vend_id = 0;
static int prod_id = 0;
@@ -965,10 +965,11 @@ main(int argc, char **argv)
if ((ipmi_maj == 0) || (ipmi_maj == 1 && ipmi_min < 5)) {
/* IPMI 0.9 and 1.0 dont support this. */
printf("This system does not support EMP Terminal Mode.\n");
- if (!fdoanyway)
+ if (!fdoanyway) {
ret = LAN_ERR_NOTSUPPORT;
goto do_exit;
}
+ }
if (ipmi_maj >= 2) fIPMI20 = 1;
/* Determine if Basic or Terminal Mode is supported by product id */
if (vend_id == VENDOR_INTEL) { /*Intel*/