aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/teardown
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:43 -0200
commitd49abdf863b9ddc79a1eade3d8d512de469a23d2 (patch)
tree3f2bc6adfee49b7a97269f1da5e5681beb66ee86 /lib/keyringer/actions/teardown
parent3c23d9d24eb07c6faab184e3da30b2c7efe7028e (diff)
parent6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b (diff)
downloadkeyringer-d49abdf863b9ddc79a1eade3d8d512de469a23d2.tar.gz
keyringer-d49abdf863b9ddc79a1eade3d8d512de469a23d2.tar.bz2
Merge tag 'upstream_keyringer_0.5.2' into debian
Upstream version 0.5.2
Diffstat (limited to 'lib/keyringer/actions/teardown')
-rwxr-xr-xlib/keyringer/actions/teardown3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/keyringer/actions/teardown b/lib/keyringer/actions/teardown
index 2e8725b..55de3d6 100755
--- a/lib/keyringer/actions/teardown
+++ b/lib/keyringer/actions/teardown
@@ -16,8 +16,9 @@ if [ -z "$CONFIRM" ] || [ "$CONFIRM" != "-y" ]; then
echo "WARNING: This will irrevocably destroy $KEYDIR"
echo "WARNING: the action cannot be undone!"
- read -rep "Are you sure to WIPE keyring $KEYRING (type YES to confirm)? " key
+ read -rep "Are you sure to WIPE keyring $KEYRING (type uppercase YES to confirm)? " key
if [ "$key" != "YES" ]; then
+ echo "CANCELLED!"
exit 1
fi
fi