aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/howtox.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/howtox.md')
-rw-r--r--docs/markdown/howtox.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md
index 5c64bcb..91098aa 100644
--- a/docs/markdown/howtox.md
+++ b/docs/markdown/howtox.md
@@ -133,7 +133,7 @@ endif
## Set a command's output to configuration
```meson
-txt = run_command('script', 'argument').stdout().strip()
+txt = run_command('script', 'argument', check: true).stdout().strip()
cdata = configuration_data()
cdata.set('SOMETHING', txt)
configure_file(...)