fix: no conf return value
This commit is contained in:
		
							parent
							
								
									2586aeace1
								
							
						
					
					
						commit
						3068d77ba5
					
				|  | @ -80,7 +80,7 @@ func main() { | ||||||
| 			conf = parseConfFile("conf.toml") | 			conf = parseConfFile("conf.toml") | ||||||
| 		} else { | 		} else { | ||||||
| 			slog.Error("no conf found", "error", err) | 			slog.Error("no conf found", "error", err) | ||||||
| 			os.Exit(0) | 			os.Exit(1) | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	setupSlog(conf) | 	setupSlog(conf) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user