Fixed function name.

This commit is contained in:
Otho 2022-11-19 03:51:26 -05:00
parent 2e9d0ca7c1
commit cc9357d43a
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -66,7 +66,7 @@ send_single_snapshot()
echo $BR_NEW_SNAPSHOT > "old-snapshot.txt" echo $BR_NEW_SNAPSHOT > "old-snapshot.txt"
} }
send_incremental_snapshop() send_incremental_snapshot()
{ {
BR_NEW_SNAPSHOT=`get_latest_snapshot` BR_NEW_SNAPSHOT=`get_latest_snapshot`
while read BR_REMOTE_ADDR BR_REMOTE_PORT BR_REMOTE_ROOT BR_REMOTE_USER; do while read BR_REMOTE_ADDR BR_REMOTE_PORT BR_REMOTE_ROOT BR_REMOTE_USER; do
@ -81,7 +81,7 @@ send_incremental_snapshop()
create_snapshot create_snapshot
if [ -f "old-snapshot.txt" ]; then if [ -f "old-snapshot.txt" ]; then
send_incremental_snapshop send_incremental_snapshot
else else
send_single_snapshot send_single_snapshot
fi fi