summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/keyringer/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index af84212..add22e2 100644
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -26,7 +26,7 @@ function keyringer_config_load {
function keyringer_config_load_preferences {
# Load custom keyring preferences
- if [ ! -z "$PREFERENCES" ] && [ -e "$PREFERENCES" ]; then
+ if [ ! -z "$PREFERENCES" ] && [ -f "$PREFERENCES" ]; then
source $PREFERENCES
fi
}