aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-06-20 20:22:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-06-20 20:22:35 -0300
commit6fe92f50a22d6d52137d8d843c9353da6b54e333 (patch)
tree0a0978ce46d33aa1c108f4f8e962bfd7761f7139 /share
parentcb021c46ddb6616c33fa874a553f555893c8a22b (diff)
downloadkeyringer-6fe92f50a22d6d52137d8d843c9353da6b54e333.tar.gz
keyringer-6fe92f50a22d6d52137d8d843c9353da6b54e333.tar.bz2
Error handling for newkeys
Diffstat (limited to 'share')
-rwxr-xr-xshare/keyringer/newkeys4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/keyringer/newkeys b/share/keyringer/newkeys
index 14fcfd1..95b052b 100755
--- a/share/keyringer/newkeys
+++ b/share/keyringer/newkeys
@@ -56,6 +56,10 @@ fi
source $OPTIONS
keyringer_config_load_preferences
+if [ -z "$PUPPET" ]; then
+ "Error: you have to setup PUPPET path at your preferences for this keyring."
+fi
+
if [ -z "$PUPPET_KEYS" ]; then
PUPPET_KEYS="$PUPPET/files/keys"
fi