From 42d406b85f888676ae647436b625089663cb6672 Mon Sep 17 00:00:00 2001 From: Amin Date: Wed, 16 Oct 2019 10:31:58 +0330 Subject: [PATCH] Fix typo in print error message (#429) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 9fe5afd..93270b7 100644 --- a/main.go +++ b/main.go @@ -325,7 +325,7 @@ func createPIDFile() error { } defer file.Close() if _, err := file.WriteString(strconv.FormatInt(int64(currentPid), 10)); err != nil { - return fmt.Errorf("Can'write PID information on %s: %v", pidPath, err) + return fmt.Errorf("Can't write PID information on %s: %v", pidPath, err) } } else { return fmt.Errorf("%s already exists", pidPath)