aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/teardown
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:55:26 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:55:26 -0200
commitb6dec4f1efe948f01df02b364cbb7f7aeedaa2b1 (patch)
tree0a51277f829b08b792204c8b4fe06c33bff4591a /lib/keyringer/actions/teardown
parent374887922e7018e6b0c8e3d2ba8f52d4386ec682 (diff)
parent7fca7cd0433e6f97080ecf12bee64ec4f38948ba (diff)
downloadkeyringer-b6dec4f1efe948f01df02b364cbb7f7aeedaa2b1.tar.gz
keyringer-b6dec4f1efe948f01df02b364cbb7f7aeedaa2b1.tar.bz2
Merge branch 'develop'
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