From 744c442ddad29b9c267796af288a8fd50e4b029a Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 4 Jun 2006 00:36:33 +0000 Subject: [PATCH] dup: now forbid to (try to) backup / git-svn-id: http://code.autistici.org/svn/backupninja/trunk@403 758a04ac-41e6-0310-8a23-8373a73cc35d --- ChangeLog | 1 + handlers/dup | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4027fe3..07430ce 100644 --- 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 c16ec40..715427c 100644 --- 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 -- 2.30.2