Make dying on config pregen more explicit
This commit is contained in:
		@@ -571,7 +571,10 @@ main() {
 | 
			
		||||
	# Early hook for help
 | 
			
		||||
	[ -n "$_opthelp" ] && printhelp && exit 0
 | 
			
		||||
	# Early hook for generating configs
 | 
			
		||||
	[ -n "$_optpregen" ] && genconfigs && exit $?
 | 
			
		||||
	if [ -n "$_optpregen" ]; then
 | 
			
		||||
		genconfigs
 | 
			
		||||
		exit $?
 | 
			
		||||
	fi
 | 
			
		||||
	# Ensure our running environment is sane and that we're not about to nest
 | 
			
		||||
	if [ -z "$_optdryrun" ] && [ -z "$_optpregen" ]; then
 | 
			
		||||
		for pid in $(pgrep firestarter); do
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user