X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fdup;h=b4a7c9db3bc722bb15c5ff58007a89d3e02e3e72;hb=2255dcbca67296ac589d1e96662461544a5d47a1;hp=c16ec40f83da0984973898b4f912596725954144;hpb=ce8928de513221e0175804d6aa2df09ec822fd91;p=matthijs%2Fupstream%2Fbackupninja-vserver.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