If you do similar to below, trying to dsync to a folder which does not exist, the return code from mpifileutils is 0. It should be non-zero, I'm guessing 2?
$ dsync CMakeLists.txt foo/bar; echo $?
[2026-02-04T02:44:12] [0] [/home/username/code/mpifileutils-v0.12/mpifileutils/src/dsync/dsync.c:3360] ERROR: Destination parent directory is not writable `/home/username/code/mpifileutils-v0.12/mpifileutils/src/dsync/foo' (errno=2 No such file or directory)
0