diff options
author | David Arcari <darcari@redhat.com> | 2019-02-12 09:34:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-27 09:30:28 +0200 |
commit | 742007f6898ab0167e99af95ced014a0fc0aa417 (patch) | |
tree | c34a863916c4c590a289185856c93a6cbb52c6ba /samples/Kconfig | |
parent | b91640967bb4ca2656baee1d8429ef74e172dca4 (diff) | |
download | linux-stable-742007f6898ab0167e99af95ced014a0fc0aa417.tar.gz linux-stable-742007f6898ab0167e99af95ced014a0fc0aa417.tar.bz2 linux-stable-742007f6898ab0167e99af95ced014a0fc0aa417.zip |
tools/power turbostat: return the exit status of a command
[ Upstream commit 2a95496634a017c19641f26f00907af75b962f01 ]
turbostat failed to return a non-zero exit status even though the
supplied command (turbostat <command>) failed. Currently when turbostat
forks a command it returns zero instead of the actual exit status of the
command. Modify the code to return the exit status.
Signed-off-by: David Arcari <darcari@redhat.com>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples/Kconfig')
0 files changed, 0 insertions, 0 deletions