Skip to content

Commit

Permalink
Fix issue #2450: ExitCode always 2 with /enableexitcode with no appar…
Browse files Browse the repository at this point in the history
…ent issues
  • Loading branch information
sdottaka committed Sep 29, 2024
1 parent dd55aa9 commit 1646333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/DirView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ int CDirView::RedisplayChildren(DIFFITEM *diffpos, int level, UINT &index, int &

if (di.diffcode.isResultDiff() || (!di.diffcode.existAll() && !di.diffcode.isResultFiltered()))
++alldiffs;
if (di.diffcode.isResultNone() || di.diffcode.isResultError() || di.diffcode.isResultAbort())
if (di.diffcode.isResultError() || di.diffcode.isResultAbort())
result = -1;

bool bShowable = IsShowable(ctxt, di, m_dirfilter);
Expand Down

0 comments on commit 1646333

Please sign in to comment.