diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-22 12:50:18 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-22 12:50:18 -0200 |
commit | 4d5b7821417d853b6a86fc794cc684ecc846ad6a (patch) | |
tree | 3a4357e3d42fc8f881bdc24e68bdf378980a7818 | |
parent | bf5b13dcf28fd74510d10ada387d4e1c65e2e171 (diff) | |
download | keyringer-4d5b7821417d853b6a86fc794cc684ecc846ad6a.tar.gz keyringer-4d5b7821417d853b6a86fc794cc684ecc846ad6a.tar.bz2 |
Guessing a common mistake on init
-rwxr-xr-x | keyringer | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -44,6 +44,12 @@ function keyringer_init { if [ -e "$BASEDIR" ]; then if [ ! -d "$BASEDIR/keys" ] || [ ! -e "$RECIPIENTS" ]; then echo "Invalid keyring $BASEDIR: incomplete installation" + + # A common mistake + if [ -d "$BASEDIR/../keys" ]; then + echo "You might try `cd $BASEDIR/.. && pwd` instead" + fi + exit 1 fi else |