Skip to content

Commit 4cc9c9f

Browse files
committed
Change lockfile to /tmp.
- In some systems, /var/run/lock is not accessible to regular users. /tmp seems to be a safe bet in this case.
1 parent 3f71958 commit 4cc9c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const (
2323
configDir = "~/.config/clipsync"
2424
configFile = "config"
2525
cryptPasswordFile = "crypt-password"
26-
syncerLockDir = "/var/run/lock"
26+
syncerLockDir = "/tmp"
2727
)
2828

2929
// BuildVersion Holds the current git HEAD version number.

0 commit comments

Comments
 (0)