From: Jameson Graef Rollins Date: Thu, 19 Feb 2009 07:05:05 +0000 (-0500) Subject: add PROMPT respect in get_gpg_expiration X-Git-Tag: monkeysphere_0.23~60 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=771cbc184298f4e698dd960386cb1b9259746c34;p=monkeysphere.git add PROMPT respect in get_gpg_expiration --- diff --git a/src/share/common b/src/share/common index d185fdd..31f8ddd 100644 --- a/src/share/common +++ b/src/share/common @@ -291,7 +291,7 @@ get_gpg_expiration() { keyExpire="$1" - if [ -z "$keyExpire" ]; then + if [ -z "$keyExpire" -a "$PROMPT" = 'true' ]; then cat >&2 <