Page MenuHomeDevCentral

Disable shellcheck warning for EUID
ClosedPublic

Authored by dereckson on Sep 15 2025, 21:12.
Tags
None
Referenced Files
F54762233: D3679.diff
Fri, Oct 23, 10:37
Unknown Object (File)
Mon, Oct 19, 10:34
Unknown Object (File)
Tue, Oct 13, 23:43
Unknown Object (File)
Sun, Oct 11, 02:42
Unknown Object (File)
Sat, Oct 10, 15:30
Unknown Object (File)
Thu, Oct 8, 01:23
Unknown Object (File)
Sun, Oct 4, 22:57
Unknown Object (File)
Sun, Oct 4, 06:27
Subscribers
None

Details

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

Diff Detail

Repository
rSNIPPETS Snippets
Lint
Lint Not Applicable
Unit
Tests Not Applicable