Page MenuHomeDevCentral

Ignore SC2038 EUID shellcheck issue
ClosedPublic

Authored by dereckson on Jul 2 2024, 20:29.
Tags
None
Referenced Files
F13256264: D3350.id8626.diff
Thu, Nov 20, 22:59
Unknown Object (File)
Tue, Nov 18, 00:00
Unknown Object (File)
Sat, Nov 15, 19:42
Unknown Object (File)
Fri, Nov 14, 17:50
Unknown Object (File)
Fri, Nov 14, 04:35
Unknown Object (File)
Thu, Nov 13, 05:46
Unknown Object (File)
Sun, Nov 9, 22:28
Unknown Object (File)
Fri, Nov 7, 17:56
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.