about summary refs log tree commit diff stats
path: root/common
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 17:47:54 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 17:47:54 +0200
commit00a0fbe08945d93955a2bf4416ff2d6d9dbeb17e (patch)
tree60fc8564e3849887d963dd013824bd0f78373ccd /common
parentchore(version): v0.7.0 (diff)
downloadflake-templates-00a0fbe08945d93955a2bf4416ff2d6d9dbeb17e.tar.gz
flake-templates-00a0fbe08945d93955a2bf4416ff2d6d9dbeb17e.zip
fix(common/init): Define `die` function
Diffstat (limited to 'common')
-rw-r--r--common/init4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/init b/common/init
index f8c8bb3..341e04c 100644
--- a/common/init
+++ b/common/init
@@ -26,6 +26,10 @@ require() {
         exit 1
     fi
 }
+die() {
+    echo "$1"
+    exit 1
+}
 
 # Prompt the user for a specific variable.
 # ## Args: