HomeClusterLabs Projects

Refactor: extra: use best practices for conditionals in agent code

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: extra: use best practices for conditionals in agent code

In particular:

  • use numeric comparisons (-ne/-eq) where appropriate
  • use -n/-z instead of constructs like "x$VAR" != "x"
  • use -n instead of ! -z

Details

Provenance
kgaillotAuthored on Jul 17 2019, 5:37 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.