Re: [libvirt] [PATCH] virsh: send-process-signal: add support for '-NUM' style of signal nums

2016-09-23 Thread Daniel P. Berrange
On Fri, Sep 23, 2016 at 06:09:02PM +0800, Chen Hanxiao wrote: > From: Chen Hanxiao > > As kill(1), add support for sending signal > in form of "9" as well as "-9". I'm not a fan of this as it introduces ambiguity which could hurt us if we want to rewrite/extend the option parser - you can't dist

[libvirt] [PATCH] virsh: send-process-signal: add support for '-NUM' style of signal nums

2016-09-23 Thread Chen Hanxiao
From: Chen Hanxiao As kill(1), add support for sending signal in form of "9" as well as "-9". Signed-off-by: Chen Hanxiao --- tools/virsh-domain.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 7194153..b96b8fd 100644 --- a/tools/virs