Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
osprepare: Remove redundant reslice of packages slice
Browse files Browse the repository at this point in the history
In a previous out of tree configuration this was required, however this
workaround seems to have been toolchain specific so is now removed for
hygiene.

Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
Ikey Doherty committed Aug 26, 2016
1 parent 6b115b8 commit e264738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osprepare/distro.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (d *clearLinuxDistro) getID() string {
// Correctly split and format the command, using sudo if appropriate, as a
// common mechanism for the various package install functions.
func sudoFormatCommand(command string, packages []string) bool {
toInstall := strings.Join(packages[0:], " ")
toInstall := strings.Join(packages, " ")

var executable string
var args string
Expand Down

0 comments on commit e264738

Please sign in to comment.