aboutsummaryrefslogtreecommitdiff
path: root/sendusr1.go
diff options
context:
space:
mode:
Diffstat (limited to 'sendusr1.go')
-rw-r--r--sendusr1.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sendusr1.go b/sendusr1.go
index e61df23..752a8db 100644
--- a/sendusr1.go
+++ b/sendusr1.go
@@ -4,7 +4,7 @@ import (
"os"
"syscall"
- "github.com/rfjakob/gocryptfs/internal/toggledlog"
+ "github.com/rfjakob/gocryptfs/internal/tlog"
)
// Send signal USR1 to "pid" (usually our parent process). This notifies it
@@ -12,11 +12,11 @@ import (
func sendUsr1(pid int) {
p, err := os.FindProcess(pid)
if err != nil {
- toggledlog.Warn.Printf("sendUsr1: FindProcess: %v\n", err)
+ tlog.Warn.Printf("sendUsr1: FindProcess: %v\n", err)
return
}
err = p.Signal(syscall.SIGUSR1)
if err != nil {
- toggledlog.Warn.Printf("sendUsr1: Signal: %v\n", err)
+ tlog.Warn.Printf("sendUsr1: Signal: %v\n", err)
}
}