aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2006-06-04 00:36:33 +0000
committerintrigeri <intrigeri@boum.org>2006-06-04 00:36:33 +0000
commit79cc6a73b3027dbc159f1d5fe8e9b8b05b7b6c19 (patch)
treeace3bf4908934b9e70bb093b76b22665c34a2f48 /handlers
parent8042abbba028fbe3380cb62dc8b41ee7c2aa94fd (diff)
downloadbackupninja-79cc6a73b3027dbc159f1d5fe8e9b8b05b7b6c19.tar.gz
backupninja-79cc6a73b3027dbc159f1d5fe8e9b8b05b7b6c19.tar.bz2
dup: now forbid to (try to) backup /
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dup1
1 files changed, 1 insertions, 0 deletions
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