summaryrefslogtreecommitdiff
path: root/ct-ng.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-10-27 20:56:22 (GMT)
committerAlexey Neyman <stilor@att.net>2018-10-27 20:56:22 (GMT)
commit21af769802e25d99ef00026372b3e54970643f61 (patch)
treeca8e82e23adc88e815f3b470350481a0af1ac087 /ct-ng.in
parente12e90c798a7c27cb0d7edfba4e7bcd80fc68b65 (diff)
Detect errors in CT_SaveLocal
The function is called from a conditional and therefore, the CT_OnError handler is not invoked on failures. Need to return an error and check for the error return in the caller. Also, while here, fix the issue that was causing the failure - move can fail if it crosses a filesystem, so fall back to 'cp+rm' in that case. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'ct-ng.in')
0 files changed, 0 insertions, 0 deletions