Project

General

Profile

Actions

Bug #20623

closed

Failed check/procedure/upgrade should exit with non-zero error code

Added by Ivan Necas over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

1. run check/upgrade check/upgrade run that ends with failed state
2. echo $?

It is 0

It should not be 0

Actions #1

Updated by Ivan Necas over 7 years ago

  • Target version set to next version
Actions #2

Updated by Ivan Necas over 7 years ago

  • Subject changed from Failed check/procedure/upgrade should exit with non-zere error code to Failed check/procedure/upgrade should exit with non-zero error code
Actions #3

Updated by Ivan Necas over 7 years ago

  • Bugzilla link set to 1487546
Actions #4

Updated by Swapnil Abnave over 7 years ago

  • Assignee set to Swapnil Abnave
Actions #5

Updated by Swapnil Abnave over 7 years ago

  • Difficulty set to easy

What should be the exit code in case of warnings?

Actions #6

Updated by Ivan Necas over 7 years ago

No strong preference

Actions #7

Updated by The Foreman Bot over 7 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/96 added
Actions #8

Updated by Swapnil Abnave over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF