* Add a new lint rule to the Makefile Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> * Fix linter errors Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> * Allow replacing the default apt mirror Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			442 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			442 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// +build solaris
 | 
						|
 | 
						|
package osutils
 | 
						|
 | 
						|
import (
 | 
						|
	"errors"
 | 
						|
)
 | 
						|
 | 
						|
//Solaris TODO
 | 
						|
 | 
						|
// GetSubreaper returns the subreaper setting for the calling process
 | 
						|
func GetSubreaper() (int, error) {
 | 
						|
	return 0, errors.New("osutils GetSubreaper not implemented on Solaris")
 | 
						|
}
 | 
						|
 | 
						|
// SetSubreaper sets the value i as the subreaper setting for the calling process
 | 
						|
func SetSubreaper(i int) error {
 | 
						|
	return errors.New("osutils SetSubreaper not implemented on Solaris")
 | 
						|
}
 |