Project

General

Profile

Bug #8386

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

Added by Jonathan CLARKE almost 4 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

Bug #8387: check-techniques script doesn't properly exit non-zero on errorsReleased2016-05-25Benoît PECCATTEActions
#1

Updated by Jonathan CLARKE almost 4 years ago

  • Status changed from New to In progress
#2

Updated by Jonathan CLARKE almost 4 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
#3

Updated by Jonathan CLARKE almost 4 years ago

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

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.11.22 to 2.11.21
#5

Updated by Vincent MEMBRÉ over 3 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.

Also available in: Atom PDF