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
|
else
|
||||||
echo Filesystem already unmounted.
|
echo Filesystem already unmounted.
|
||||||
fi
|
fi
|
||||||
|
echo "Waiting for MainPID ($MAINPID) to die..."
|
||||||
|
tail --pid=$MAINPID -f /dev/null
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# fsck and unmounting might take a while
|
# fsck and unmounting might take a while
|
||||||
|
|
Loading…
Reference in a new issue