mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 04:42:31 +01:00
Merge remote-tracking branch 'sarava/bug/3721'
This commit is contained in:
commit
c522391404
@ -387,8 +387,8 @@ function rotate_long {
|
|||||||
local metadata
|
local metadata
|
||||||
|
|
||||||
if [ ! -d "$backuproot" ]; then
|
if [ ! -d "$backuproot" ]; then
|
||||||
echo "Debug: skipping rotate of $backuproot as it doesn't exist."
|
warning "Skipping rotate of $backuproot as it doesn't exist."
|
||||||
exit
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for rottype in daily weekly monthly; do
|
for rottype in daily weekly monthly; do
|
||||||
@ -510,7 +510,7 @@ function rotate_long_remote {
|
|||||||
now=\`date +%s\`
|
now=\`date +%s\`
|
||||||
|
|
||||||
if [ ! -d "$backuproot" ]; then
|
if [ ! -d "$backuproot" ]; then
|
||||||
echo "Debug: skipping rotate of $backuproot as it doesn't exist."
|
echo "Fatal: skipping rotate of $backuproot as it doesn't exist."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user