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

Commit

Permalink
Merge pull request #2 from ikeydoherty/tpepper-prepare
Browse files Browse the repository at this point in the history
osprepare: Remove redundant reslice of packages slice
  • Loading branch information
Tim Pepper authored Aug 26, 2016
2 parents 6b115b8 + e264738 commit 392ba7b
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 392ba7b

Please sign in to comment.