Page MenuHomeDevCentral

Ignore SC2038 EUID shellcheck issue
ClosedPublic

Authored by dereckson on Jul 2 2024, 20:29.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 30, 06:08
Unknown Object (File)
Sun, Jun 29, 07:56
Unknown Object (File)
Thu, Jun 26, 13:30
Unknown Object (File)
Tue, Jun 24, 18:09
Unknown Object (File)
Fri, Jun 13, 18:32
Unknown Object (File)
Fri, Jun 13, 18:25
Unknown Object (File)
Mon, Jun 9, 23:13
Unknown Object (File)
Sun, Jun 8, 16:22
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.