Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fabrics: update return values for dim
The nvme dim command returns a zero even for failure scenarios as shown below: nvme0 DIM register command error. Status:0xffffffff - Operation not supported echo $? 0 Fix this by ensuring appropriate values are returned for success and failure scenarios. And while at it, remove a couple of superfluous braces too here. Signed-off-by: Martin George <[email protected]>
- Loading branch information