mirror of
				https://github.com/NVIDIA/nvidia-container-toolkit
				synced 2025-06-26 18:18:24 +00:00 
			
		
		
		
	Merge branch 'fix-dev-null-typo' into 'experimental'
Correct typo in check for null device See merge request nvidia/container-toolkit/container-toolkit!101
This commit is contained in:
		
						commit
						7ee81e91de
					
				| @ -45,7 +45,7 @@ func main() { | |||||||
| 		os.Exit(1) | 		os.Exit(1) | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if cfg.DebugFilePath != "" && cfg.DebugFilePath != "/dev/nul" { | 	if cfg.DebugFilePath != "" && cfg.DebugFilePath != "/dev/null" { | ||||||
| 		logFile, err := os.OpenFile(cfg.DebugFilePath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644) | 		logFile, err := os.OpenFile(cfg.DebugFilePath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			logger.Errorf("Error opening debug log file: %v", err) | 			logger.Errorf("Error opening debug log file: %v", err) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user