lib/lino/executors/childprocess.rb in lino-3.2.0.pre.6 vs lib/lino/executors/childprocess.rb in lino-3.2.0.pre.7

- old
+ new

@@ -15,10 +15,10 @@ set_environment(process, command_line.environment_variables) start_process(process, opts) exit_code = process.wait - return unless exit_code != 0 + return if exit_code.zero? raise Lino::Errors::ExecutionError.new( command_line.string, exit_code ) end