HomeDevCentral

Disable shellcheck warning for EUID

Description

Disable shellcheck warning for EUID

Summary:
This snippet explicitly uses EUID with call to id as a fallback.
As such, SC3028 is a false positive.

Test Plan: shellcheck script-using-this-snippet.sh

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D3679

Details

Provenance
derecksonAuthored on Mon, Sep 15, 21:12
derecksonPushed on Mon, Sep 15, 21:15
Reviewer
dereckson
Differential Revision
D3679: Disable shellcheck warning for EUID
Parents
rSNIPPETSff2d49256a26: Detect FreeBSD
Branches
Unknown
Tags
Unknown
References
HEAD -> main