dup: now forbid to (try to) backup /

This commit is contained in:
intrigeri 2006-06-04 00:36:33 +00:00
parent 8042abbba0
commit 79cc6a73b3
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ version 0.9.4 -- unreleased
any passphrase
. Support duplicity 0.4.2 (with Debian patches applied; upstream's
0.4.3 will integrate them)
. Now forbid to (try to) include /.
sys:
. Many more system checks were added, thanks to Petr Klíma
lib changes

View File

@ -144,6 +144,7 @@ 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