dup: now forbid to (try to) backup /
authorintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sun, 4 Jun 2006 00:36:33 +0000 (00:36 +0000)
committerintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sun, 4 Jun 2006 00:36:33 +0000 (00:36 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@403 758a04ac-41e6-0310-8a23-8373a73cc35d

ChangeLog
handlers/dup

index 4027fe37161f6db58817aee2dadd0475b628d4c0..07430cedf5a6aeb639386a1c228ba44b00148875 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index c16ec40f83da0984973898b4f912596725954144..715427c33a7884f9b4079ffa13aba79efa155751 100644 (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