Skip to content

Commit

Permalink
Add sudo to linux before optional params
Browse files Browse the repository at this point in the history
  • Loading branch information
Machi3mfl committed Jun 30, 2023
1 parent 28caec6 commit 065bd39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const getLinuxDEBInstallCommand = (
props: tOSEntryInstallCommand<tOptionalParameters>,
) => {
const { optionals, urlPackage } = props;
return `curl -so wazuh-agent.deb ${urlPackage} && ${
return `curl -so wazuh-agent.deb ${urlPackage} && sudo ${
optionals && getAllOptionals(optionals)
}dpkg -i ./wazuh-agent.deb`;
};
Expand Down

0 comments on commit 065bd39

Please sign in to comment.