Project

General

Profile

Actions

Refactor #25665

closed

Use bash comparisons in katello-certs-check

Added by Ewoud Kohl van Wijngaarden about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Installer
Target version:
Branch:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The use of == is a bash-only feature. Since we're using this already, we might as well go all the way and use the safer checks.

Using $() instead of `` is also a better practice because it allows nesting and slightly easier to read.

Actions

Also available in: Atom PDF