This commit is contained in:
@@ -647,7 +647,9 @@ func syncthingMain(runtimeOptions RuntimeOptions) {
|
||||
}
|
||||
}
|
||||
|
||||
app.Start()
|
||||
if err := app.Start(); err != nil {
|
||||
os.Exit(int(syncthing.ExitError))
|
||||
}
|
||||
|
||||
cleanConfigDirectory()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user