Fixes a crash on startup when no svn directories are present
git-svn-id: file:///home/svn/framework3/trunk@7438 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4321b992dc
commit
2bec0701a7
|
@ -179,7 +179,7 @@ class Core
|
|||
|
||||
oldwarn = nil
|
||||
banner << "#{framework.stats.num_payloads} payloads - #{framework.stats.num_encoders} encoders - #{framework.stats.num_nops} nops\n"
|
||||
if ( ::Msf::Framework::RepoRevision > 0)
|
||||
if ( ::Msf::Framework::RepoRevision.to_i > 0)
|
||||
banner << " =[ svn r#{::Msf::Framework::RepoRevision} updated #{::Msf::Framework::RepoUpdatedDaysNote}\n"
|
||||
if(::Msf::Framework::RepoUpdatedDays > 7)
|
||||
oldwarn = []
|
||||
|
|
Loading…
Reference in New Issue