aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-rw-r--r--handlers/rdiff.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/handlers/rdiff.in b/handlers/rdiff.in
index aa02a55..62c5a28 100644
--- a/handlers/rdiff.in
+++ b/handlers/rdiff.in
@@ -137,7 +137,6 @@ if [ $ignore_version != "yes" ]; then
fi
# source specific checks
-[ "$include" != "" -o "$vsinclude" != "" ] || fatal "No source includes specified"
case $sourcetype in
remote ) execstr_sourcepart="$sourceuser@$sourcehost::/" ;;
local ) execstr_sourcepart="/" ;;
@@ -233,7 +232,7 @@ fi
set +o noglob
# exclude everything else
-execstr="${execstr}--exclude '/*' "
+[ "$include" != "" -o "$vsinclude" != "" ] && execstr="${execstr}--exclude '/*' "
# include client-part and server-part
execstr="${execstr}$execstr_sourcepart $execstr_destpart"