Page MenuHomeDevCentral

Ignore SC2038 EUID shellcheck issue
ClosedPublic

Authored by dereckson on Jul 2 2024, 20:29.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 20, 12:24
Unknown Object (File)
Tue, Aug 19, 18:59
Unknown Object (File)
Tue, Aug 19, 07:35
Unknown Object (File)
Tue, Aug 19, 07:29
Unknown Object (File)
Tue, Aug 19, 03:59
Unknown Object (File)
Sun, Aug 17, 17:57
Unknown Object (File)
Sun, Aug 17, 06:59
Unknown Object (File)
Thu, Aug 14, 10:10
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 Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 5310
Build 5591: arc lint + arc unit

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.