diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-02-17 20:56:53 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-02-17 20:56:53 +0100 |
commit | 2adeca46f677bacad1914a3a1eedabaf710c71ad (patch) | |
tree | 71028a415516aa9c702e86a6959cb9d2101229a6 /scripts/ipmiutil.setup | |
parent | 842dcead48ee80a10afa6e03667e9bf74cb8f2ab (diff) | |
parent | d3c90cdcdf56146af89056ed36bfcc7b4d4956c5 (diff) |
Merge tag 'upstream/2.9.8'
Upstream version 2.9.8
Diffstat (limited to 'scripts/ipmiutil.setup')
-rwxr-xr-x | scripts/ipmiutil.setup | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/ipmiutil.setup b/scripts/ipmiutil.setup index 9087021..0330a29 100755 --- a/scripts/ipmiutil.setup +++ b/scripts/ipmiutil.setup @@ -37,8 +37,13 @@ isetup() { retval=6 else # portmap may have been replaced by portreserve - [ -x $IPORTMAP ] || exit 6 - retval=0 + # only need ipmi_port if portmap exists + if [ -x $IPORTMAP ] + then + retval=0 + else + retval=6 + fi fi return $retval } |