From 94e0eeaecbc3644c15022db0aa8be3e7b6c4bcc0 Mon Sep 17 00:00:00 2001 From: b1ek Date: Sat, 22 Jun 2024 21:21:53 +1000 Subject: [PATCH] make RDC actually exit on failure --- rdc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rdc.sh b/rdc.sh index 8871838..bd9b37e 100755 --- a/rdc.sh +++ b/rdc.sh @@ -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 \ No newline at end of file +{{end}}# Dependencies are OK at this point