From cc9357d43acc8a4ff354329cd2d8f8cfe7de7094 Mon Sep 17 00:00:00 2001 From: Otho Date: Sat, 19 Nov 2022 03:51:26 -0500 Subject: [PATCH] Fixed function name. --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index 12bb485..c37ac90 100755 --- a/backup.sh +++ b/backup.sh @@ -66,7 +66,7 @@ send_single_snapshot() echo $BR_NEW_SNAPSHOT > "old-snapshot.txt" } -send_incremental_snapshop() +send_incremental_snapshot() { BR_NEW_SNAPSHOT=`get_latest_snapshot` while read BR_REMOTE_ADDR BR_REMOTE_PORT BR_REMOTE_ROOT BR_REMOTE_USER; do @@ -81,7 +81,7 @@ send_incremental_snapshop() create_snapshot if [ -f "old-snapshot.txt" ]; then - send_incremental_snapshop + send_incremental_snapshot else send_single_snapshot fi \ No newline at end of file