diff options
author | Jameson Rollins <jrollins@finestructure.net> | 2010-01-18 18:38:27 -0500 |
---|---|---|
committer | Jameson Rollins <jrollins@finestructure.net> | 2010-01-18 18:38:27 -0500 |
commit | 7dbd6806e538ff8732dd87fcf20bfd8271464552 (patch) | |
tree | 7a564c4d55e5e6f9a2f74d1a22fa59aae03171a5 /src/share/mh/add_name | |
parent | 638a70f020f4ccda3deb15e5c697d384e0f705d7 (diff) |
canonicalize prompting to prompt if MONKEYSPHERE_PROMPT != 'false'
Diffstat (limited to 'src/share/mh/add_name')
-rw-r--r-- | src/share/mh/add_name | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/mh/add_name b/src/share/mh/add_name index 754ced4..39ebace 100644 --- a/src/share/mh/add_name +++ b/src/share/mh/add_name @@ -39,7 +39,7 @@ prompt_userid_exists "$serviceName" check_service_name "$serviceName" -if [ "$PROMPT" = "true" ] ; then +if [ "$PROMPT" != "false" ] ; then printf "The following service name will be added to key '$keyID':\n %s\nAre you sure you would like to add this service name? (Y/n) " "$serviceName" >&2 read OK; OK=${OK:=Y} if [ "${OK/y/Y}" != 'Y' ] ; then |