]> git.decadent.org.uk Git - dak.git/commitdiff
* no / in x-day
authorThomas Viehmann <tv@beamnet.de>
Mon, 15 Sep 2008 20:01:04 +0000 (22:01 +0200)
committerThomas Viehmann <tv@beamnet.de>
Mon, 15 Sep 2008 20:01:04 +0000 (22:01 +0200)
Signed-off-by: Thomas Viehmann <tv@beamnet.de>
tools/debianqueued-0.9/debianqueued

index a54deec906e9705a2a74d75d94e0a5a91a7873ae..3f13a0e5c7b4aafbc6a44316f975ef10cce22cb6 100755 (executable)
@@ -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" );