git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daf8f7a
)
Use "exit 1" in atomic-rsync for error exit.
author
Wayne Davison
<wayned@samba.org>
Sun, 5 Apr 2020 23:23:07 +0000
(16:23 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sun, 5 Apr 2020 23:23:07 +0000
(16:23 -0700)
Fixes bug #15469.
support/atomic-rsync
patch
|
blob
|
history
diff --git
a/support/atomic-rsync
b/support/atomic-rsync
index 9e620cfe2dc5cb2095f57f0c50ed67da0b56f0d3..79c2edfeff60a82046589b429ff9c7c46c203004 100755
(executable)
--- a/
support/atomic-rsync
+++ b/
support/atomic-rsync
@@
-59,7
+59,7
@@
if (system($RSYNC_PROG, "--link-dest=$dest_dir", @ARGV)) {
} else {
printf "child exited with value %d\n", $? >> 8;
}
- exit
$?
;
+ exit
1
;
}
if (!defined $old_dir) {