fix(watchdog): ensure watchdog binary is executable before starting the process
This commit is contained in:
@@ -94,6 +94,7 @@ func syncRunningInstancesToWatchdog() {
|
||||
|
||||
func ensureWatchdogProcess() error {
|
||||
watchdogName, err := getWatchdogBinaryName()
|
||||
exec.Command("chmod", "+x", filepath.Join(".", "watchdog", watchdogName)).Run()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user