mirror of
https://github.com/schoebel/mars
synced 2024-12-21 14:21:07 +00:00
main: restart future qio only after fully off
This commit is contained in:
parent
4e928bafc9
commit
66c42718d7
@ -2003,6 +2003,11 @@ int __make_copy(struct mars_dent *belongs,
|
||||
aio->power.button &&
|
||||
aio->power.led_on)
|
||||
goto found;
|
||||
/* Wait until the old brick is fully off */
|
||||
if (aio &&
|
||||
!aio->power.button &&
|
||||
!aio->power.led_off)
|
||||
goto done;
|
||||
}
|
||||
|
||||
cc.argv[i] = argv[i];
|
||||
|
Loading…
Reference in New Issue
Block a user