summaryrefslogtreecommitdiff
path: root/src/share/mh/set_expire
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/mh/set_expire')
-rw-r--r--src/share/mh/set_expire2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/mh/set_expire b/src/share/mh/set_expire
index be3f6bb..68a8dfd 100644
--- a/src/share/mh/set_expire
+++ b/src/share/mh/set_expire
@@ -35,7 +35,7 @@ shift
keyID=$(check_key_input "$@")
-if [ "$PROMPT" = "true" ] ; then
+if [ "$PROMPT" != "false" ] ; then
printf "Are you sure you want to change the expiration on key '$keyID' by '%s'? (Y/n) " "$extendBy" >&2
read OK; OK=${OK:-Y}
if [ "${OK/y/Y}" != 'Y' ] ; then