It is hard to detect if a pcsync command is done since wrapUserErrors does not cause the program returns non-zero code.
For example, pcsync rename lalalilolu.txt lalelilolu.txt always returns 0 even if lalalilolu.txt does not exist. And you have to parse stdout to detect the issue.
It is hard to detect if a pcsync command is done since wrapUserErrors does not cause the program returns non-zero code.
For example,
pcsync rename lalalilolu.txt lalelilolu.txt
always returns 0 even if lalalilolu.txt does not exist. And you have to parse stdout to detect the issue.