Skip to content

Commit

Permalink
fix(device): installer sudo args
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozwiaczek committed Oct 23, 2021
1 parent c38e25f commit 0b45269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/device/installer/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ check_privileges() {
# when run via curl piping
if [[ "$0" == "bash" ]]; then
# Download the install script and run it with admin rights
exec curl -sSL $INSTALLER_RAW_LINK | sudo bash \"\$@\"
exec curl -sSL $INSTALLER_RAW_LINK | sudo bash "$@"
else
# when run via calling local bash script
exec sudo bash "$0" "$@"
Expand Down

0 comments on commit 0b45269

Please sign in to comment.