aboutsummaryrefslogtreecommitdiffstats
path: root/compose/production/postgres/maintenance/_sourced/yes_no.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compose/production/postgres/maintenance/_sourced/yes_no.sh')
-rw-r--r--compose/production/postgres/maintenance/_sourced/yes_no.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/compose/production/postgres/maintenance/_sourced/yes_no.sh b/compose/production/postgres/maintenance/_sourced/yes_no.sh
deleted file mode 100644
index fd9cae1..0000000
--- a/compose/production/postgres/maintenance/_sourced/yes_no.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env bash
-
-
-yes_no() {
- declare desc="Prompt for confirmation. \$\"\{1\}\": confirmation message."
- local arg1="${1}"
-
- local response=
- read -r -p "${arg1} (y/[n])? " response
- if [[ "${response}" =~ ^[Yy]$ ]]
- then
- exit 0
- else
- exit 1
- fi
-}