Page MenuHomeDevCentral

Ignore SC2038 EUID shellcheck issue
ClosedPublic

Authored by dereckson on Jul 2 2024, 20:29.
Tags
None
Referenced Files
F24899619: D3350.id8626.diff
Mon, Mar 16, 21:31
F24899614: D3350.id8625.diff
Mon, Mar 16, 21:31
F24897650: D3350.diff
Mon, Mar 16, 18:08
F24896818: D3350.id8626.diff
Mon, Mar 16, 16:32
F24889613: D3350.id8626.diff
Mon, Mar 16, 05:12
Unknown Object (File)
Mon, Mar 16, 00:00
Unknown Object (File)
Sun, Mar 15, 23:11
Unknown Object (File)
Fri, Mar 13, 00:53
Subscribers
None

Details

Summary

$EUID is used to determine if a command is run as root. ShellCheck
reports every POSIX shell should have it, but that's not the case
of all dash versions.

Test Plan

arc lint roles/webserver-alkane/php/files/restart-php-fpm.sh

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jul 2 2024, 20:29
This revision was automatically updated to reflect the committed changes.