Skip to content

hack: redundant 'set -e' alongside 'set -o errexit' in shell scripts #8993

@Ankitsinghsisodya

Description

@Ankitsinghsisodya

Problem

hack/create-kind-cluster.sh (lines 17–18) and hack/install.sh (lines 19–20) both have:

set -e
set -o errexit

set -e is an exact alias for set -o errexit. Having both on consecutive lines creates misleading code that implies they do different things, and introduces unnecessary noise.

Proposed Fix

Remove the set -e line and keep only set -o errexit in both files.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions