Project

General

Profile

Actions

Bug #8386

closed

check-techniques script doesn't properly exit non-zero on errors

Added by Jonathan CLARKE almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Due to the use of constructs like

find | while read line; do test || EXIT=1; done

The EXIT variable is set in a subprocess, so not actually changed in the main process...


Subtasks 1 (0 open1 closed)

Bug #8387: check-techniques script doesn't properly exit non-zero on errorsReleasedBenoît PECCATTE2016-05-25Actions
Actions #1

Updated by Jonathan CLARKE almost 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Jonathan CLARKE almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/948
Actions #3

Updated by Jonathan CLARKE almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.22 to 2.11.21
Actions #5

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.21, 3.0.16, 3.1.10 and 3.2.3 which were released on 2016-06-01, but not announced.

Actions

Also available in: Atom PDF