X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=lib%2Fsyncthing%2Fst.go;fp=lib%2Fsyncthing%2Fst.go;h=88d0eb0ca93805f18527c67e8dc651a0a2920323;hb=36e2400d1c0249e81f910e48a967e0202d5a8d46;hp=8fd50d3e386efc4693fb267be020857b7578a59e;hpb=59b0682f87803e69a58e58ea0f3c50f606745cae;p=src%2Fxds%2Fxds-agent.git 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")