From b5c68bd5c17398ec9b1ed95d15c6fe273d267064 Mon Sep 17 00:00:00 2001 From: Zachary Huff Date: Sat, 1 Aug 2015 22:09:01 -0400 Subject: [PATCH] Fix block script --- service/profile/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/profile/profile.go b/service/profile/profile.go index 85bc3014b..8861a82cb 100644 --- a/service/profile/profile.go +++ b/service/profile/profile.go @@ -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"),