From efac9b8463b7454b812b79e17683ac6805629be7 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 2 May 2024 10:29:43 +0200 Subject: [PATCH] cd_write --- cd.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cd.sh b/cd.sh index ccc0d49..ca22d36 100644 --- a/cd.sh +++ b/cd.sh @@ -380,9 +380,7 @@ cd_write () { local file="${1}" local text="${2}" if [ "${file}" ] ; then - echo -n "${text}" \ - > "${file}" \ - || exit + echo -n "${text}" > "${file}" || exit cd_cat "${file}" fi }