Skip to content

Commit

Permalink
don't assign newPrivs to start with
Browse files Browse the repository at this point in the history
  • Loading branch information
telyn committed Dec 6, 2018
1 parent 1015859 commit e6838f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bytemark/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Privileges will be output in no particular order.`,
server := flags.VirtualMachineName(c, "server")

privs := make(brain.Privileges, 0)
newPrivs := make(brain.Privileges, 0)
var newPrivs []brain.Privileges
if account != "" {
newPrivs, err = findPrivilegesForAccount(c, account, c.Bool("recursive"))
if err != nil {
Expand Down

0 comments on commit e6838f0

Please sign in to comment.