Merge branch 'main' into test

This commit is contained in:
Marco Gallegos
2025-11-19 11:38:51 -06:00
committed by GitHub
4 changed files with 34 additions and 16 deletions

View File

@@ -46,6 +46,12 @@ EOF
local keyring_socket="/run/user/${target_uid}/keyring/ssh"
# Obtenemos el UID del usuario dueño del directorio HOME. Este método es más fiable.
local target_uid
target_uid=$(stat -c '%u' "$HOME")
local keyring_socket="/run/user/${target_uid}/keyring/ssh"
if [[ ! -S "$keyring_socket" ]]; then
log_error "No se encontró el socket de GNOME Keyring en la ruta esperada: ${keyring_socket}"
log_warning "Esto usualmente significa que el servicio no se ha iniciado correctamente con tu sesión de escritorio."