From: intrigeri Date: Wed, 22 Sep 2010 18:47:34 +0000 (+0200) Subject: Do not error out when no job is configured (Closes: #597684) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d598a50cb9b55edd073a03b2ae6a5ba28a117551;p=backupninja.git Do not error out when no job is configured (Closes: #597684) --- diff --git a/AUTHORS b/AUTHORS index cec8819..070b885 100644 --- a/AUTHORS +++ b/AUTHORS @@ -35,3 +35,4 @@ stefan -- dup support for Amazon S3 buckets maniacmartin -- rdiff confusing error message fix Chris Nolan -- maildir subdirectory expansion Dan Carley -- mysql bugfix +Jordi Mallach -- do not error when no jobs are configured \ No newline at end of file diff --git a/ChangeLog b/ChangeLog index 792841e..c5f7dce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ version 0.9.9 -- UNRELEASED + backupninja changes + . Do not error out when no job is configured. Thanks to Jordi Mallach + for the patch (Closes: #597684) handler changes rdiff: . Support reading include/exclude patterns from files using the diff --git a/src/backupninja.in b/src/backupninja.in index b397a14..789debd 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -519,7 +519,7 @@ else files=`find $configdirectory -follow -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n` if [ -z "$files" ]; then - fatal "No backup actions configured in '$configdirectory', run ninjahelper!" + info "No backup actions configured in '$configdirectory', run ninjahelper!" fi fi