diff --git a/bootstrap/helpers/sudo.php b/bootstrap/helpers/sudo.php index c25e44a72..b8ef84687 100644 --- a/bootstrap/helpers/sudo.php +++ b/bootstrap/helpers/sudo.php @@ -30,7 +30,12 @@ function parseCommandsByLineForSudo(Collection $commands, Server $server): array $bashKeywords = [ 'cd', 'command', + 'declare', 'echo', + 'export', + 'local', + 'readonly', + 'return', 'true', 'if', 'fi',