X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fdup;h=b4a7c9db3bc722bb15c5ff58007a89d3e02e3e72;hb=6764e88373674c4d1f0a0ba8f09d508b5a634b4d;hp=c16ec40f83da0984973898b4f912596725954144;hpb=a65bc7af30e0ba963a007bc47b6287054bc2f276;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/dup b/handlers/dup index c16ec40..b4a7c9d 100644 --- a/handlers/dup +++ b/handlers/dup @@ -138,18 +138,19 @@ for i in $exclude; do if [ -n "$str" ]; then execstr="${execstr}--exclude '$str' " else - warning "exclude statement ${i//__star__/*} will be ignored. $symlinks_warning" + warning "exclude statement '${i//__star__/*}' will be ignored. $symlinks_warning" fi done # includes for i in $include; do + [ "$i" != "/" ] || fatal "Sorry, you cannot use 'include = /'" str="${i//__star__/*}" str=`readlink -f $str` if [ -n "$str" ]; then execstr="${execstr}--include '$str' " else - warning "include statement ${i//__star__/*} will be ignored. $symlinks_warning" + warning "include statement '${i//__star__/*}' will be ignored. $symlinks_warning" fi done @@ -162,7 +163,7 @@ if [ $usevserver = yes ]; then if [ -n "$str" ]; then execstr="${execstr}--include '$str' " else - warning "vsinclude statement ${vi//__star__/*} will be ignored for VServer $vserver. $symlinks_warning" + warning "vsinclude statement '${vi//__star__/*}' will be ignored for VServer $vserver. $symlinks_warning" fi done done