Fix being unable to generate configs from within a firestarter session

This commit is contained in:
Salt 2019-06-22 03:49:25 -05:00
parent 9782b8210e
commit 3786a076b1

View File

@ -346,7 +346,7 @@ https://gitlab.com/rehashedsalt/firestarter
EOF
}
step_check() {
if [ -z "$_dryrun" ]; then
if [ -z "$_dryrun" ] && [ -z "$_generate" ]; then
for pid in $(pgrep firestarter); do
# Skip invalid PIDs
! [ -d "/proc/$pid" ] && continue