aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/script.cxx')
-rw-r--r--build2/test/script/script.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/test/script/script.cxx b/build2/test/script/script.cxx
index 25f72af..cb114a6 100644
--- a/build2/test/script/script.cxx
+++ b/build2/test/script/script.cxx
@@ -228,7 +228,7 @@ namespace build2
print_path (p.path);
}
- if (c.exit.comparison != exit_comparison::eq || c.exit.status != 0)
+ if (c.exit.comparison != exit_comparison::eq || c.exit.code != 0)
{
switch (c.exit.comparison)
{
@@ -236,7 +236,7 @@ namespace build2
case exit_comparison::ne: o << " != "; break;
}
- o << static_cast<uint16_t> (c.exit.status);
+ o << static_cast<uint16_t> (c.exit.code);
}
}