Commit af99eb04 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Rafael Monnerat

software/slaprunner: Fail on undefined variable expansion.

parent 052f4ff3
...@@ -31,7 +31,7 @@ md5sum = 9db9957f452bda370cb2d5cc2e833e85 ...@@ -31,7 +31,7 @@ md5sum = 9db9957f452bda370cb2d5cc2e833e85
[template-runner-export-script] [template-runner-export-script]
filename = template/runner-export.sh.jinja2 filename = template/runner-export.sh.jinja2
md5sum = bbe59ef9544322d34d45d34b875dbc4e md5sum = 7ba7ede9bf850551a9add58812e95d6e
[instance-runner-export] [instance-runner-export]
filename = instance-runner-export.cfg.in filename = instance-runner-export.cfg.in
......
...@@ -4,7 +4,8 @@ export LC_ALL ...@@ -4,7 +4,8 @@ export LC_ALL
umask 077 umask 077
# Exit on any error, to prevent inconsistent backup # Exit on any error, to prevent inconsistent backup
set -e # Error on unset variable expansion
set -eu
# Redirect output to log # Redirect output to log
exec > >(tee -ai '{{ output_log_file }}') exec > >(tee -ai '{{ output_log_file }}')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment