summaryrefslogtreecommitdiff
path: root/units/socketcan
diff options
authorPMR <pmr@pmr-lander>2021-07-21 09:10:59 +0000
committerPMR <pmr@pmr-lander>2021-07-21 09:10:59 +0000
commit0fb3f4c41b3aa1564aad184d8d8b2c36cdec247a (patch)
tree094d0e2bea0fea4fda5d513554601c38428adacf /units/socketcan
parentd82e5c29ea247eaa2cadac534ebe8886d53089ec (diff)
parent11f1532e586f3014c6476c4b4f188bda61cf9a95 (diff)
Merge #405897 from plainbox-provider-checkbox:phlin/fix-tainted-check
exit takes only integer args in the range 0 - 255 If we return the taint value read from /proc/sys/kernel/tainted, it might exceed this range and causing unexpected behaviour. e.g. on a system with kernel warning $ ./kernel_taint_test.py Kernel taint value is 512 Taint bit value: 9 (kernel issued warning) Taint bit value: 9 (kernel issued warning) $ echo $? 0 Let's just simplify the return logic of report_failures() to return either 0 or 1.
Diffstat (limited to 'units/socketcan')
0 files changed, 0 insertions, 0 deletions