Author: joeyh Date: 2005-08-30 16:44:13 +0000 (Tue, 30 Aug 2005) New Revision: 1742 Modified: data/DTSA/sndadvisory Log: add a confirmaton prompt Modified: data/DTSA/sndadvisory ==================================================================--- data/DTSA/sndadvisory 2005-08-30 16:44:03 UTC (rev 1741) +++ data/DTSA/sndadvisory 2005-08-30 16:44:13 UTC (rev 1742) @@ -8,6 +8,12 @@ fi subject="[$(basename $1)] New $package packages fix $vuln" echo "$subject" +printf "Send advisory now? [yn] " +read resp +if [ "$resp" != y ]; then + echo "aborting" + exit 1 +fi gpg --charset utf-8 --no-verbose --output - --armor --textmode --clearsign $1 | mail -s "$subject" secure-testing-announce@lists.alioth.debian.org echo "Sent."