commands: Fix wrong flag for sticky acks

It's 2 not 1. But who knows why :)

fixes #7783
This commit is contained in:
Eric Lippmann 2014-11-21 16:33:46 +01:00
parent 59c2d27e4e
commit c626762b5d
1 changed files with 1 additions and 1 deletions

View File

@ -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()
);