mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-23 11:13:18 +01:00
Do not error out when no job is configured (Closes: #597684)
This commit is contained in:
parent
c0c02efafd
commit
d598a50cb9
1
AUTHORS
1
AUTHORS
@ -35,3 +35,4 @@ stefan <s.freudenberg@jpberlin.de> -- dup support for Amazon S3 buckets
|
|||||||
maniacmartin <martin@maniacmartin.com> -- rdiff confusing error message fix
|
maniacmartin <martin@maniacmartin.com> -- rdiff confusing error message fix
|
||||||
Chris Nolan <chris@cenolan.com> -- maildir subdirectory expansion
|
Chris Nolan <chris@cenolan.com> -- maildir subdirectory expansion
|
||||||
Dan Carley -- mysql bugfix
|
Dan Carley -- mysql bugfix
|
||||||
|
Jordi Mallach <jordi@debian.org> -- do not error when no jobs are configured
|
@ -1,4 +1,7 @@
|
|||||||
version 0.9.9 -- UNRELEASED
|
version 0.9.9 -- UNRELEASED
|
||||||
|
backupninja changes
|
||||||
|
. Do not error out when no job is configured. Thanks to Jordi Mallach
|
||||||
|
<jordi@debian.org> for the patch (Closes: #597684)
|
||||||
handler changes
|
handler changes
|
||||||
rdiff:
|
rdiff:
|
||||||
. Support reading include/exclude patterns from files using the
|
. Support reading include/exclude patterns from files using the
|
||||||
|
@ -519,7 +519,7 @@ else
|
|||||||
files=`find $configdirectory -follow -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`
|
files=`find $configdirectory -follow -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`
|
||||||
|
|
||||||
if [ -z "$files" ]; then
|
if [ -z "$files" ]; then
|
||||||
fatal "No backup actions configured in '$configdirectory', run ninjahelper!"
|
info "No backup actions configured in '$configdirectory', run ninjahelper!"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user