summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-01-27 20:52:59 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-01-27 20:52:59 -0500
commit786fcda41a731654dd2de7496d5f28bc7bb19743 (patch)
treeab557aa22a6463fd15667ec738b12f7fd78d7aa1 /.profile
parent614636d8e5a1f643d3c91d0d5e52482aef38bb5e (diff)
parent5f7de477be298f158369862c1a3cc80286fc7e32 (diff)
Merge remote-tracking branch 'origin/master' into build64-par
Conflicts: .kde/share/apps .kde/share/config .kde4
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.profile b/.profile
index a6c4d91..2d6f370 100644
--- a/.profile
+++ b/.profile
@@ -43,8 +43,8 @@ if [ -z "$GPGKEY" ] && [ -f "${HOME}/.gnupg/gpg.conf" ]; then
export GPGKEY=`sed -nr 's/^\s*default-key\s+//p' "${HOME}/.gnupg/gpg.conf"`
fi
if [ -z "$(pgrep -u `whoami` gpg-agent)" ]; then
- mkdir -p ${XDG_RUNTIME_DIR}/sessions/gpg
- gpg-agent --daemon --write-env-file "${XDG_RUNTIME_DIR}/sessions/gpg"
+ mkdir -p ${XDG_RUNTIME_DIR}/sessions
+ gpg-agent --daemon --write-env-file "${XDG_RUNTIME_DIR}/sessions/gpg" &>/dev/null
fi
if [ -f "${XDG_RUNTIME_DIR}/sessions/gpg" ]; then
. "${XDG_RUNTIME_DIR}/sessions/gpg"