Skip to content

Commit b3057a2

Browse files
authored
Fix 'find' parameters precedence (#180)
1 parent f39081b commit b3057a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alts/worker/runners/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,8 @@ def get_system_info_commands_list(self) -> Dict[str, tuple]:
781781
basic_commands['Installed packages'] = ('dpkg', '-l')
782782
basic_commands['Repositories list'] = ('apt-cache', 'policy')
783783
basic_commands['Repositories details'] = (
784-
'find', '/etc/apt/', '-type', 'f', '-name', '*.list*',
785-
'-o', '-name', '*.sources*', '-exec', 'cat', '{}', '+'
784+
'find', '/etc/apt/', '-type', 'f', '(', '-name', '*.list*',
785+
'-o', '-name', '*.sources*', ')', '-exec', 'cat', '{}', '+'
786786
)
787787
return basic_commands
788788

0 commit comments

Comments
 (0)