fix(libscan): delete map that keeps all file contents detected by FindLock to save memory (#1556)
* fix(libscan): delete Map that keeps all files detected by FindLock to save memory * continue analyzing libs if err occurred * FindLockDirs * fix * fix
This commit is contained in:
		@@ -1155,7 +1155,7 @@ func (o *debian) checkrestart() error {
 | 
			
		||||
		o.Packages[p.Name] = pack
 | 
			
		||||
 | 
			
		||||
		for j, proc := range p.NeedRestartProcs {
 | 
			
		||||
			if proc.HasInit == false {
 | 
			
		||||
			if !proc.HasInit {
 | 
			
		||||
				continue
 | 
			
		||||
			}
 | 
			
		||||
			packs[i].NeedRestartProcs[j].InitSystem = initName
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user