make RDC actually exit on failure

This commit is contained in:
b1ek 2024-06-22 21:21:53 +10:00
parent 3e2e5e3f57
commit 94e0eeaecb
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 1 deletions

3
rdc.sh
View File

@ -17,8 +17,9 @@ if (( ${#non_ok[@]} != 0 )); then
>&2 echo " From which, these are missing:"
>&2 echo " > $non_ok"
>&2 echo "Make sure that those are installed and are present in \$PATH."
exit 1
fi
unset non_ok{{if .UnsetDeps}}
unset {{.DepsVar}}
{{end}}# Dependencies are OK at this point
{{end}}# Dependencies are OK at this point