aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/teardown
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:39 -0200
commit6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b (patch)
treeee989361e1451ed2980270d8fb70c0ed4bd3dda7 /lib/keyringer/actions/teardown
parent5f0fb30328d9b37ee53aafd65690a1ee90ea6799 (diff)
parent7fca7cd0433e6f97080ecf12bee64ec4f38948ba (diff)
downloadkeyringer-6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b.tar.gz
keyringer-6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b.tar.bz2
New upstream version 0.5.2upstream_keyringer_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