Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/power turbostat: return the exit status of a command
[ Upstream commit 2a95496 ] 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 <[email protected]> Acked-by: Len Brown <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information