[rt-users] "1;" in the RT_SiteConfig.pm file

Roderick A. Anderson raanders at cyber-office.net
Tue May 18 19:19:56 EDT 2010


Wagner Pereira wrote:
> Hi, folks.
> 
> Below is an excerpt (located at the end of my RT_SiteConfig.pm file):
> 
> My 'easy' question is: what this "1;" does at the final? What is its 
> utility? I don't remember if I had put it there or RT came with it by 
> default.
> 
> --------------------
> # this has no effect for the SQLite case, the first Set() wins
> # end   /etc/request-tracker3.6/RT_SiteConfig.d/51-dbconfig-common
> # end   /etc/request-tracker3.6/RT_SiteConfig.d/50-debconf
> 1;
> --------------------

All "good" Perl modules have this as the exit code/value at the end.


\\||/
Rod
-- 
> 
> Thanks in advance.
> 
> Att,
> 




More information about the rt-users mailing list