modules/external-storage: wait for MainPID to exit
This commit is contained in:
parent
3cda1e1488
commit
637f048ee3
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ in
|
|||
else
|
||||
echo Filesystem already unmounted.
|
||||
fi
|
||||
echo "Waiting for MainPID ($MAINPID) to die..."
|
||||
tail --pid=$MAINPID -f /dev/null
|
||||
'';
|
||||
|
||||
# fsck and unmounting might take a while
|
||||
|
|
Loading…
Reference in a new issue