diff options
-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 |