Page MenuHomeDevCentral

Disable shellcheck warning for EUID
ClosedPublic

Authored by dereckson on Mon, Sep 15, 21:12.
Tags
None
Referenced Files
F11723268: D3679.diff
Tue, Sep 16, 09:23
F11722699: D3679.id9523.diff
Tue, Sep 16, 04:46
F11722689: D3679.id9523.diff
Tue, Sep 16, 04:35
F11722485: D3679.id.diff
Tue, Sep 16, 02:36
F11722483: D3679.id.diff
Tue, Sep 16, 02:35
F11722477: D3679.id9524.diff
Tue, Sep 16, 02:28
F11722180: D3679.id9524.diff
Tue, Sep 16, 01:42
F11722111: D3679.diff
Tue, Sep 16, 01:07
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