mirror of
https://github.com/urbit/shrub.git
synced 2025-01-04 18:43:46 +03:00
kiln: update +poke-suspend to use a list of desks
This commit is contained in:
parent
36fb1303d3
commit
6a0f66b836
@ -784,8 +784,16 @@
|
||||
`(foal where %sched !>((~(put by old) tym eve)))
|
||||
::
|
||||
++ poke-suspend
|
||||
|= =desk
|
||||
abet:(emit %pass /kiln/suspend %arvo %c %zest desk %dead)
|
||||
|= desks=(list desk)
|
||||
=< abet
|
||||
%- emil
|
||||
%+ turn
|
||||
%+ skim desks
|
||||
|= dek=desk
|
||||
?: (~(has in .^((set desk) %cd /(scot %p our)/base/(scot %da now))) dek)
|
||||
&
|
||||
((slog leaf+"kiln: desk does not yet exist: {<dek>}" ~) |)
|
||||
|=(=desk [%pass /kiln/suspend %arvo %c %zest desk %dead])
|
||||
::
|
||||
++ poke-sync
|
||||
|= hos=kiln-sync
|
||||
|
Loading…
Reference in New Issue
Block a user