From 792c69a0bbb363c0d85c217740b03254003090c4 Mon Sep 17 00:00:00 2001 From: Oliver Giles Date: Sat, 18 Nov 2017 10:59:31 +0200 Subject: [PATCH] readme: add note about exit status --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c0e524c..8734f24 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,9 @@ cd hello-2.10 make ``` -Don't forget to mark it executable: +Laminar uses your script's exit code to determine whether to mark the run as successful or failed. If your script is written in bash, the [`-e` option](http://tldp.org/LDP/abs/html/options.html) is helpful for this. See also [Exit and Exit Status](http://tldp.org/LDP/abs/html/exit-status.html). + +Don't forget to mark the script executable: ```bash chmod +x /var/lib/laminar/cfg/hello.run