This commit is contained in:
Marc Beninca 2024-05-02 10:29:43 +02:00
parent e891d90b43
commit efac9b8463
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

4
cd.sh
View file

@ -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
}