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

Commit

Permalink
main: Fix comments.
Browse files Browse the repository at this point in the history
Add a new comment and move an existing one to the correct location.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
  • Loading branch information
jodh-intel committed Sep 7, 2017
1 parent b37a883 commit d08eb02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"github.com/urfave/cli"
)

// name holds the name of this program
const (
// name holds the name of this program
name = "cc-runtime"
project = "Intel® Clear Containers"
)
Expand Down Expand Up @@ -225,6 +225,7 @@ type fatalWriter struct {
}

func (f *fatalWriter) Write(p []byte) (n int, err error) {
// Ensure error is logged before displaying to the user
ccLog.Error(string(p))
return f.cliErrWriter.Write(p)
}

0 comments on commit d08eb02

Please # to comment.