[Fusionforge-commits] r12330 - trunk/src/deb-specific

Christian Bayle cbayle at fusionforge.org
Sun Feb 20 01:21:15 CET 2011


Author: cbayle
Date: 2011-02-20 01:21:15 +0100 (Sun, 20 Feb 2011)
New Revision: 12330

Modified:
   trunk/src/deb-specific/mailfwd_update.pl
Log:
Include.pl requires to be root to be able to access to db config


Modified: trunk/src/deb-specific/mailfwd_update.pl
===================================================================
--- trunk/src/deb-specific/mailfwd_update.pl	2011-02-20 00:21:02 UTC (rev 12329)
+++ trunk/src/deb-specific/mailfwd_update.pl	2011-02-20 00:21:15 UTC (rev 12330)
@@ -64,11 +64,11 @@
     return ($uid,$gid);
 }
 
+require("/usr/share/gforge/lib/include.pl");  # Include all the predefined functions
 # Run as gforge
 my($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = getpwnam("gforge");
 $> = $uid;
 
-require("/usr/share/gforge/lib/include.pl");  # Include all the predefined functions
 
 my $verbose=0;
 my $fwd_array = ();




More information about the Fusionforge-commits mailing list