Skip to content

Commit

Permalink
@stasadev fix wrong logic
Browse files Browse the repository at this point in the history
Co-authored-by: Stanislav Zhuk <stasadev@gmail.com>
  • Loading branch information
rfay and stasadev committed Feb 19, 2024
1 parent d823b55 commit 39d5a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ddevapp/ddevapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,7 @@ func (app *DdevApp) Stop(removeData bool, createSnapshot bool) error {

// Remove data/database/projectInfo/hosts entry if we need to.
if removeData {
if !app.IsMutagenEnabled() {
if app.IsMutagenEnabled() {
err = TerminateMutagenSync(app)
if err != nil {
util.Warning("Unable to terminate Mutagen session %s: %v", MutagenSyncName(app.Name), err)
Expand Down

0 comments on commit 39d5a95

Please sign in to comment.