From e334235dc8247ae0cff5626b1c83f0cca85a36a7 Mon Sep 17 00:00:00 2001
From: Harald Pfeiffer <puppet@lirion.de>
Date: Sat, 15 Mar 2025 21:15:26 +0100
Subject: fix: then was missing

---
 .bash/postexec.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.bash/postexec.bash b/.bash/postexec.bash
index 5164190..8beee31 100644
--- a/.bash/postexec.bash
+++ b/.bash/postexec.bash
@@ -3,7 +3,7 @@ if [ -n "$SSHENVFILE" ] && [ -r "$SSHENVFILE" ];then
 	if source "$SSHENVFILE"; then
 		case "$OSNAME" in
 			'sunos')
-				if echo "${SSHAGH[@]}"|tr ' ' '\n'|grep -E "^$(cat /etc/nodename)\$"
+				if echo "${SSHAGH[@]}"|tr ' ' '\n'|grep -E "^$(cat /etc/nodename)\$"; then
 					add-sshagent-init
 				fi
 			;;
-- 
cgit v1.2.3