aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-10-17 14:51:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-10-17 14:51:01 -0300
commit837fd478778087527b808e8538a5b0f40a88f9e0 (patch)
tree865406546315b147b6561135d8baf69528eec19f
parent2eafba8ae6f9d54b5684a5014d0d1f3ccaa89099 (diff)
downloadkeyringer-837fd478778087527b808e8538a5b0f40a88f9e0.tar.gz
keyringer-837fd478778087527b808e8538a5b0f40a88f9e0.tar.bz2
Fixes BASEDIR evaluation at init action
-rw-r--r--ChangeLog4
-rwxr-xr-xkeyringer2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1672236..e63baa8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
-2010-06-16 - unreleased - Silvio Rhatto <rhatto@riseup.net>
+2018-10-17 - unreleased - Silvio Rhatto <rhatto@riseup.net>
+
+ Fixes BASEDIR evaluation at init action
Adds history support at shell action
diff --git a/keyringer b/keyringer
index 41b34ff..6b33c6c 100755
--- a/keyringer
+++ b/keyringer
@@ -93,7 +93,7 @@ function keyringer_init {
fi
# Reparse basedir to force absolute folder
- BASEDIR="`cd $BASEDIR && pwd`"
+ BASEDIR="`cd $BASEDIR &> /dev/null && pwd`"
# Add entry
chmod 700 "$BASEDIR"