Skip to content

Commit

Permalink
add sudo -E
Browse files Browse the repository at this point in the history
  • Loading branch information
seletskiy committed Jun 10, 2016
1 parent c5f2ee8 commit f843302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func startArchiveReceivers(

prefix := []string{}
if sudo {
prefix = []string{`sudo`, `-n`}
prefix = []string{`sudo`, `-n`, `-E`}
}

command = append(command, prefix...)
Expand Down

0 comments on commit f843302

Please sign in to comment.