From 7133c349596d71c83dd5577aa2623feecedca617 Mon Sep 17 00:00:00 2001 From: hjp Date: Sun, 27 Jul 1997 08:45:10 +0000 Subject: [PATCH] Execute findsock only if it is there. --- .zprofile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.zprofile b/.zprofile index 82d43cf..b8b0d74 100644 --- a/.zprofile +++ b/.zprofile @@ -5,7 +5,10 @@ if [ -f "$EXEC" ] then source $EXEC fi -sock=`findsock $$` +if [ -f /usr/local/bin/findsock ] +then + sock=`findsock $$` +fi if [ -z "$sock" ] then vhost=`hostname`