[Rt-commit] r5922 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Tue Sep 12 21:12:20 EDT 2006


Author: ruz
Date: Tue Sep 12 21:12:20 2006
New Revision: 5922

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/bin/rt-mailgate.in

Log:
 r3726 at cubic-pc:  cubic | 2006-09-13 05:21:50 +0400
 * fix broken logic


Modified: rt/branches/3.7-EXPERIMENTAL/bin/rt-mailgate.in
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/bin/rt-mailgate.in	(original)
+++ rt/branches/3.7-EXPERIMENTAL/bin/rt-mailgate.in	Tue Sep 12 21:12:20 2006
@@ -68,8 +68,8 @@
     exit 1;    # Don't want to succeed if this is really an email!
 }
 
-for (qw(url)) {
-    print STDERR "$0 invoked improperly\n\nNo $_ provided to mail gateway!\n" unless $opts{$_};
+unless ( $opts{'url'} ) {
+    print STDERR "$0 invoked improperly\n\nNo $_ provided to mail gateway!\n";
     exit 1;
 }
 


More information about the Rt-commit mailing list