aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syncthing/st.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/syncthing/st.go')
-rw-r--r--lib/syncthing/st.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/syncthing/st.go b/lib/syncthing/st.go
index 8fd50d3..88d0eb0 100644
--- a/lib/syncthing/st.go
+++ b/lib/syncthing/st.go
@@ -17,8 +17,8 @@ import (
"os/exec"
"github.com/Sirupsen/logrus"
- "github.com/iotbzh/xds-agent/lib/common"
"github.com/iotbzh/xds-agent/lib/xdsconfig"
+ common "github.com/iotbzh/xds-common/golib"
"github.com/syncthing/syncthing/lib/config"
)
@@ -185,7 +185,7 @@ func (s *SyncThing) Start() (*exec.Cmd, error) {
time.Sleep(500 * time.Millisecond)
if common.Exists(stConfigFile) {
break
- }
+ }
}
if tmo <= 0 {
return nil, fmt.Errorf("Cannot start Syncthing for config file creation")