Tell the user WHICH interval he/she/it specified for people mixing up

options and interval order
This commit is contained in:
Nico Schottelius 2006-10-24 00:35:55 +02:00
parent 82a6e8df8d
commit c7e4bb72a1
2 changed files with 2 additions and 1 deletions

1
TODO
View file

@ -44,3 +44,4 @@ sven / markierung
Add ccollect-restore.sh (new project, perhaps coordinated with jchome's Add ccollect-restore.sh (new project, perhaps coordinated with jchome's
ccollect-config) ccollect-config)
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
clonen von anderen existierenden backups?

View file

@ -283,7 +283,7 @@ while [ "$i" -lt "$no_sources" ]; do
c_interval=$D_INTERVAL c_interval=$D_INTERVAL
if [ -z "$c_interval" ]; then if [ -z "$c_interval" ]; then
echo "Default and source specific interval missing. Skipping." echo "No definition for interval \"$INTERVAL\" found. Skipping."
exit 1 exit 1
fi fi
fi fi