From d106632b2fdd07f804af4c395fedc65b328e1dc7 Mon Sep 17 00:00:00 2001
From: Dominique Roux <dominique.roux@ungleich.ch>
Date: Sat, 5 Oct 2019 07:48:58 +0200
Subject: [PATCH] Added missing exit 1 in __prometheus_server cdist type

---
 cdist/conf/type/__prometheus_server/manifest | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cdist/conf/type/__prometheus_server/manifest b/cdist/conf/type/__prometheus_server/manifest
index 8685130f..73a0799c 100755
--- a/cdist/conf/type/__prometheus_server/manifest
+++ b/cdist/conf/type/__prometheus_server/manifest
@@ -33,6 +33,7 @@ if [ -f "$__object/parameter/install-from-backports" ]; then
 		*)
 			echo "--install-from-backports is only supported on Devuan -- ignoring." >&2
 			echo "Send a pull request if you require it." >&2
+			exit 1
 		;;
 	esac
 else