prevent "wait: pid 55 is not a child of this shell"

This commit is contained in:
Patrick Schleizer 2023-01-07 16:43:09 -05:00
parent 3777ecba85
commit 2e833b40a1
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -8,10 +8,6 @@ ram_wipe_check_needshutdown() {
local wipe_action
wipe_action=$(getarg wiperamaction)
## TODO: disable
wait $(pgrep sdmem)
info "wipe-ram.sh wiperamexit: DONE WAITING..."
if [ "$wipe_action" = "reboot" ]; then
info "wipe-ram.sh wiperamexit: reboot..."
## Why reboot? Why not just continue to boot?