io: increment counter when killing off subcommand
commit0c0a55b229bb6d61408394766bcbb04beecd5fa5
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 11 Jan 2016 13:00:36 +0000 (11 13:00 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 19 Jan 2016 14:03:27 +0000 (19 14:03 +0000)
treece9c11f56d00ae36c07f7e97ed18977416e4916c
parentcc75a50c68ccea2068e76fc59e5492899abd3bdb
io: increment counter when killing off subcommand

When killing the subcommand, it is intended to first send
SIGTERM, then SIGKILL and only report an error if it still
doesn't die after SIGKILL. The 'step' counter was not
being incremented though, so the code never got past the
SIGTERM stage.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
io/channel-command.c