Fix being unable to generate configs from within a firestarter session
This commit is contained in:
		@@ -346,7 +346,7 @@ https://gitlab.com/rehashedsalt/firestarter
 | 
				
			|||||||
EOF
 | 
					EOF
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
step_check() {
 | 
					step_check() {
 | 
				
			||||||
	if [ -z "$_dryrun" ]; then
 | 
						if [ -z "$_dryrun" ] && [ -z "$_generate" ]; then
 | 
				
			||||||
		for pid in $(pgrep firestarter); do
 | 
							for pid in $(pgrep firestarter); do
 | 
				
			||||||
			# Skip invalid PIDs
 | 
								# Skip invalid PIDs
 | 
				
			||||||
			! [ -d "/proc/$pid" ] && continue
 | 
								! [ -d "/proc/$pid" ] && continue
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user