[sb2] Fix can_accelerate_rpm under new lua. Fixes JB#54116
The (first) return value of os.execute has changed between lua 5.1 and 5.2. On old lua, successful execution returned 0, failure (exit 1 in script) returned 256. On new lua, successful execution returns true and failure false.
Showing with 1 addition and 1 deletion