fix duplicate constant

This commit is contained in:
Matthew R Kasun 2022-01-25 18:23:08 -05:00
parent 03d17a0520
commit 71cc49e06d
2 changed files with 1 additions and 2 deletions

View file

@ -10,7 +10,6 @@ import (
)
const MAC_SERVICE_NAME = "com.gravitl.netclient"
const EXEC_DIR = "/sbin/"
// SetupMacDaemon - Creates a daemon service from the netclient under LaunchAgents for MacOS
func SetupMacDaemon(interval string) error {

View file

@ -10,7 +10,7 @@ import (
"github.com/gravitl/netmaker/netclient/ncutils"
)
const EXEC_DIR = "/usr/sbin/"
const EXEC_DIR = "/sbin/"
// SetupSystemDDaemon - sets system daemon for supported machines
func SetupSystemDDaemon(interval string) error {