mirror of
https://github.com/coollabsio/coolify.git
synced 2025-12-28 05:34:50 +00:00
fix: add additional bash keywords to prevent sudo prefix in command parsing
This commit is contained in:
parent
48c3daae88
commit
5084464688
@ -30,7 +30,12 @@ function parseCommandsByLineForSudo(Collection $commands, Server $server): array
|
||||
$bashKeywords = [
|
||||
'cd',
|
||||
'command',
|
||||
'declare',
|
||||
'echo',
|
||||
'export',
|
||||
'local',
|
||||
'readonly',
|
||||
'return',
|
||||
'true',
|
||||
'if',
|
||||
'fi',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user