Page MenuHomeDevCentral

Disable shellcheck warning for EUID
ClosedPublic

Authored by dereckson on Sep 15 2025, 21:12.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 26, 09:21
Unknown Object (File)
Tue, Oct 21, 20:50
Unknown Object (File)
Mon, Oct 20, 00:12
Unknown Object (File)
Sun, Oct 19, 12:02
Unknown Object (File)
Sun, Oct 19, 09:29
Unknown Object (File)
Sat, Oct 18, 22:02
Unknown Object (File)
Thu, Oct 16, 14:22
Unknown Object (File)
Wed, Oct 15, 11:03
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