projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8042abb
)
dup: now forbid to (try to) backup /
author
intrigeri
<intrigeri@boum.org>
Sun, 4 Jun 2006 00:36:33 +0000
(
00:36
+0000)
committer
intrigeri
<intrigeri@boum.org>
Sun, 4 Jun 2006 00:36:33 +0000
(
00:36
+0000)
ChangeLog
patch
|
blob
|
history
handlers/dup
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
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
diff --git
a/handlers/dup
b/handlers/dup
index c16ec40f83da0984973898b4f912596725954144..715427c33a7884f9b4079ffa13aba79efa155751 100644
(file)
--- a/
handlers/dup
+++ b/
handlers/dup
@@
-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