mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 15:20:40 +00:00
fix: add additional bash keywords to prevent sudo prefix in command parsing
This commit is contained in:
@@ -30,7 +30,12 @@ function parseCommandsByLineForSudo(Collection $commands, Server $server): array
|
||||
$bashKeywords = [
|
||||
'cd',
|
||||
'command',
|
||||
'declare',
|
||||
'echo',
|
||||
'export',
|
||||
'local',
|
||||
'readonly',
|
||||
'return',
|
||||
'true',
|
||||
'if',
|
||||
'fi',
|
||||
|
||||
Reference in New Issue
Block a user