config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 5bd9af594356ba900c207aa4da79c6bb061ea478
parent 980e7520b8611e136272d18d63d311266ab00fa2
Author: Jacob R. Edwards <n/a>
Date:   Thu,  8 Dec 2022 11:11:07 -0600

Fix modsync only echoing actions

This is a relic from writing the substitution patch. Additionally
filesync now explicitly returns 0, as for some reason it's started
to propagate handled (&&) errors. (Maybe it acted like that before,
but I don't remember that being the case. Regardless, it's fixed.)

Diffstat:
Mlib/modsync | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/modsync b/lib/modsync @@ -63,6 +63,7 @@ filesync() { touch -r "$1" "$2" fi fi + return 0 } addsub() { @@ -105,7 +106,7 @@ modsync() { echo 'error: fs (034) character in path' 1>&2 exit 1 } - echo sync "$mod/$1" "$dir/$2" + sync "$mod/$1" "$dir/$2" ) done }