Fix being unable to generate configs from within a firestarter session
This commit is contained in:
parent
9782b8210e
commit
3786a076b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user