mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-13 17:29:47 +07:00
prevent "wait: pid 55 is not a child of this shell"
This commit is contained in:
@ -8,10 +8,6 @@ ram_wipe_check_needshutdown() {
|
|||||||
local wipe_action
|
local wipe_action
|
||||||
wipe_action=$(getarg wiperamaction)
|
wipe_action=$(getarg wiperamaction)
|
||||||
|
|
||||||
## TODO: disable
|
|
||||||
wait $(pgrep sdmem)
|
|
||||||
info "wipe-ram.sh wiperamexit: DONE WAITING..."
|
|
||||||
|
|
||||||
if [ "$wipe_action" = "reboot" ]; then
|
if [ "$wipe_action" = "reboot" ]; then
|
||||||
info "wipe-ram.sh wiperamexit: reboot..."
|
info "wipe-ram.sh wiperamexit: reboot..."
|
||||||
## Why reboot? Why not just continue to boot?
|
## Why reboot? Why not just continue to boot?
|
||||||
|
Reference in New Issue
Block a user