From c7e4bb72a1e53e948827cdf582ff6ff3b930f979 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 24 Oct 2006 00:35:55 +0200 Subject: [PATCH] Tell the user WHICH interval he/she/it specified for people mixing up options and interval order --- TODO | 1 + ccollect.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 4ce204f..bb3a942 100644 --- a/TODO +++ b/TODO @@ -44,3 +44,4 @@ sven / markierung Add ccollect-restore.sh (new project, perhaps coordinated with jchome's ccollect-config) -------------------------------------------------------------------------------- +clonen von anderen existierenden backups? diff --git a/ccollect.sh b/ccollect.sh index 490f6e4..c89e428 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -283,7 +283,7 @@ while [ "$i" -lt "$no_sources" ]; do c_interval=$D_INTERVAL if [ -z "$c_interval" ]; then - echo "Default and source specific interval missing. Skipping." + echo "No definition for interval \"$INTERVAL\" found. Skipping." exit 1 fi fi