mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:13:40 +07:00
prevent "wait: pid 55 is not a child of this shell"
This commit is contained in:
parent
3777ecba85
commit
2e833b40a1
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user