Skip to content

Commit

Permalink
Fix block script
Browse files Browse the repository at this point in the history
  • Loading branch information
zachhuff386 committed Aug 2, 2015
1 parent f0b9129 commit b5c68bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/profile/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (p *Profile) writeBlock() (pth string, err error) {

pth = filepath.Join(rootDir, p.Id+"-block.sh")

err = ioutil.WriteFile(pth, []byte(""), os.FileMode(0755))
err = ioutil.WriteFile(pth, []byte(blockScript), os.FileMode(0755))
if err != nil {
err = &WriteError{
errors.Wrap(err, "profile: Failed to write block script"),
Expand Down

0 comments on commit b5c68bd

Please sign in to comment.