diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-26 18:53:06 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-26 18:53:06 +0200 |
commit | 36e2400d1c0249e81f910e48a967e0202d5a8d46 (patch) | |
tree | 73b3f2cced8b1f9eadb8db5e247a79b89aa9df00 /lib/syncthing/st.go | |
parent | 59b0682f87803e69a58e58ea0f3c50f606745cae (diff) |
Use xds-common go library.
Diffstat (limited to 'lib/syncthing/st.go')
-rw-r--r-- | lib/syncthing/st.go | 4 |
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") |