Skip to content

dsync to a folder that doesn't exist returns 0 #668

Description

@ColemanTom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions