aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/rusage_flag.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_wrapper/rusage_flag.go')
-rw-r--r--compiler_wrapper/rusage_flag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler_wrapper/rusage_flag.go b/compiler_wrapper/rusage_flag.go
index ed59b11e..899e4da8 100644
--- a/compiler_wrapper/rusage_flag.go
+++ b/compiler_wrapper/rusage_flag.go
@@ -62,7 +62,7 @@ func removeRusageFromCommand(compilerCmd *command) *command {
}
// maybeCaptureRusage captures rusage for execution of action()
-// unless action returns an error or logFileName is ""
+// unless action returns an error or logFileName is ""
// a function is returned which saves the rusage log data at logFileName unless logFileName is ""
// an error is returned if action returns an error, or rusage commands in syscall fails
func maybeCaptureRusage(env env, compilerCmd *command, action func(willLogRusage bool) error) (maybeCommitToFile func(exitCode int) error, err error) {