diff --git a/etc/profile b/etc/profile index 3a8925c..9b43037 100644 --- a/etc/profile +++ b/etc/profile @@ -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