From d55cb58d69badeb124fce522ada8d942cd6f2782 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 31 Dec 2021 13:03:01 +0100 Subject: [PATCH] Protect darcs variables --- files/bashrc.d/70-util-darcs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/bashrc.d/70-util-darcs.sh b/files/bashrc.d/70-util-darcs.sh index ec2c2a4..526eee6 100644 --- a/files/bashrc.d/70-util-darcs.sh +++ b/files/bashrc.d/70-util-darcs.sh @@ -1,6 +1,6 @@ # Help darcs on network mounts -if hash darcs >/dev/null 2>&1 ; then -export DARCS_SLOPPY_LOCKS=1 +if hash darcs > /dev/null 2>&1 ; then + export DARCS_SLOPPY_LOCKS=1 fi