aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/version/snapshot-git.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/version/snapshot-git.cxx')
-rw-r--r--libbuild2/version/snapshot-git.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/version/snapshot-git.cxx b/libbuild2/version/snapshot-git.cxx
index 7dcb1f3..30dea6d 100644
--- a/libbuild2/version/snapshot-git.cxx
+++ b/libbuild2/version/snapshot-git.cxx
@@ -187,7 +187,7 @@ namespace build2
// that.
}
- if (!run_finish (args, pr, false /* error */, l))
+ if (!run_finish_code (args, pr, l))
{
// Presumably new repository without HEAD. Return uncommitted snapshot
// with UNIX epoch as timestamp.