net/failsafe: fix errno set on command execution
authorGaetan Rivet <gaetan.rivet@6wind.com>
Wed, 30 Aug 2017 15:59:54 +0000 (17:59 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit4853f2be3cb1483f4ccce445748794897fc37b4a
treeea3a8bde925fb043341aa89cf2d2aad11dd421d7
parent7df6f8542de3ade577441637def4d681682d680d
net/failsafe: fix errno set on command execution

This is unacceptable behavior.

Fixes: a0194d828100 ("net/failsafe: add flexible device definition")
Fixes: 35ffe4208140 ("net/failsafe: fix missing pclose after popen")
Cc: stable@dpdk.org
Reported-by: Matan Azrad <matan@mellanox.com>
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe_args.c