etc: Only start gnome-keyring-daemon if it exists
This commit is contained in:
parent
627f35c90b
commit
82b2e53d1d
1 changed files with 4 additions and 2 deletions
|
|
@ -23,5 +23,7 @@ path_if "$HOME/.local/bin"
|
|||
unset -f source_if
|
||||
unset -f path_if
|
||||
|
||||
eval "$(gnome-keyring-daemon --start)"
|
||||
export SSH_AUTH_SOCK
|
||||
if command -V gnome-keyring-daemon > /dev/null; then
|
||||
eval "$(gnome-keyring-daemon --start)"
|
||||
export SSH_AUTH_SOCK
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue