diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-30 17:47:54 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-30 17:47:54 +0200 |
commit | 00a0fbe08945d93955a2bf4416ff2d6d9dbeb17e (patch) | |
tree | 60fc8564e3849887d963dd013824bd0f78373ccd /common | |
parent | chore(version): v0.7.0 (diff) | |
download | flake-templates-00a0fbe08945d93955a2bf4416ff2d6d9dbeb17e.tar.gz flake-templates-00a0fbe08945d93955a2bf4416ff2d6d9dbeb17e.zip |
fix(common/init): Define `die` function
Diffstat (limited to '')
-rw-r--r-- | common/init | 4 |
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: |