Compare commits
2 Commits
05e7ecb5e1
...
449929d7a7
| Author | SHA1 | Date | |
|---|---|---|---|
| 449929d7a7 | |||
| 228eba1133 |
@@ -147,6 +147,7 @@
|
|||||||
# command line
|
# command line
|
||||||
SCRIPT="$0"
|
SCRIPT="$0"
|
||||||
CMD="${0##*/}"
|
CMD="${0##*/}"
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
# valid filesystems
|
# valid filesystems
|
||||||
# shellcheck disable=2034
|
# shellcheck disable=2034
|
||||||
@@ -632,7 +633,6 @@ for ((i=0; i<${#LABELS[@]}; ++i)); do
|
|||||||
status=0
|
status=0
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
echorun_maybe rsync "${RSYNCOPTS[@]}" "$SRCPART" "$DSTPART" || status=$?
|
echorun_maybe rsync "${RSYNCOPTS[@]}" "$SRCPART" "$DSTPART" || status=$?
|
||||||
log -s "rsync status=%s\n" "$status"
|
|
||||||
if (( status != 24 && status != 0 )); then
|
if (( status != 24 && status != 0 )); then
|
||||||
log -s "rsync error %d" "$status"
|
log -s "rsync error %d" "$status"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user