From: Wayne Davison Date: Sun, 5 Apr 2020 23:23:07 +0000 (-0700) Subject: Use "exit 1" in atomic-rsync for error exit. X-Git-Tag: v3.2.0pre1~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d40508e63a80497126f5d17c57013d8c523091;p=thirdparty%2Frsync.git Use "exit 1" in atomic-rsync for error exit. Fixes bug #15469. --- diff --git a/support/atomic-rsync b/support/atomic-rsync index 9e620cfe..79c2edfe 100755 --- 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) {