mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-09-05 00:27:16 -04:00
Specify and solidify usage modes
This commit is contained in:
+2
-2
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
var binPath, _ = os.Executable() // store binary path
|
||||
|
||||
// daemonIsOpen checks if the socket/named pipe for the rcw
|
||||
// IsOpen checks if the socket/named pipe for the rcw
|
||||
// daemon exists and returns a boolean indicator.
|
||||
func daemonIsOpen() bool {
|
||||
func IsOpen() bool {
|
||||
fileInfo, err := os.Stat(socketPath)
|
||||
if err != nil {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user