Subject: Re: bug#77109: [feature] [shepherd] Accept multiple services for actions

From: Tomas Volf <[email-masked]>
Date: Fri, 21 Mar 2025 11:05:15 +0100

Actually, now that I think about it, why are formal arguments for the
restart lambda `(running . args)'?  For example status has just `(_)'.
Neither `running' nor `args' are used in the lambda itself.

Changing the formal arguments to simply _ would get us the same behavior
you get when you try to invoke e.g. status action with multiple
arguments (an error).

Ludovic, any opinions here?

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.