From: Thomas Viehmann <tv@beamnet.de>
Date: Mon, 15 Sep 2008 20:01:04 +0000 (+0200)
Subject: * no / in x-day
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7bed027100f0b2a053c4c1c7fa69ee5d9abc69d2;p=dak.git

* no / in x-day

Signed-off-by: Thomas Viehmann <tv@beamnet.de>
---

diff --git a/tools/debianqueued-0.9/debianqueued b/tools/debianqueued-0.9/debianqueued
index a54deec9..3f13a0e5 100755
--- a/tools/debianqueued-0.9/debianqueued
+++ b/tools/debianqueued-0.9/debianqueued
@@ -1378,7 +1378,7 @@ sub process_commands($) {
 				msg( "mail,log", "$word[1]: filename may not contain slashes\n" );
 			}
 			elsif (! (($target_delay) = $word[2] =~ m,^([0-9]+)-day$,) || $target_delay > $conf::max_delayed) {
-				msg( "mail,log", "$word[2]: target must be #-day with # between 0 and $conf::max_delayed\n");
+				msg( "mail,log", "$word[2]: target must be #-day with # between 0 and $conf::max_delayed (in particular, no '/' allowed)\n");
 			}
 			elsif ($word[1] =~ /$conf::keep_files/) {
 				msg( "mail,log", "$word[1] is protected, cannot rename\n" );