diff options
author | Jakob Unterwurzacher | 2016-06-15 23:30:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-15 23:30:44 +0200 |
commit | 6c3f97399a01a2d8480b39978209099335efbf7d (patch) | |
tree | 097b34a37b5f62ebcfd7294d096b16f436c180f9 /sendusr1.go | |
parent | 09e88f31d1b4308bf82c7f4eb0dd83855ad67ffc (diff) |
Rename internal "toggledlog" package to "tlog"
tlog is used heavily everywhere and deserves a shorter name.
Renamed using sed magic, without any manual rework:
find * -type f -exec sed -i 's/toggledlog/tlog/g' {} +
Diffstat (limited to 'sendusr1.go')
-rw-r--r-- | sendusr1.go | 6 |
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) } } |