commands: Fix wrong flag for sticky acks
It's 2 not 1. But who knows why :) fixes #7783
This commit is contained in:
parent
59c2d27e4e
commit
c626762b5d
|
@ -247,7 +247,7 @@ class IcingaCommandFileCommandRenderer implements IcingaCommandRendererInterface
|
|||
$commandString = sprintf(
|
||||
'%s;%u;%u;%u',
|
||||
$commandString,
|
||||
$command->getSticky(),
|
||||
$command->getSticky() ? 2 : 0,
|
||||
$command->getNotify(),
|
||||
$command->getPersistent()
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue