From 32d92b320f3c092415e71e2b3a2131ac655c2974 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sat, 10 Aug 2019 12:36:43 +0200 Subject: [PATCH] Added version number payload to SYSTEM_START trigger --- src/controller/controller_storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/controller_storage.cpp b/src/controller/controller_storage.cpp index f7a51332..c578a4c4 100644 --- a/src/controller/controller_storage.cpp +++ b/src/controller/controller_storage.cpp @@ -423,7 +423,7 @@ namespace Controller{ static bool serverStartTriggered; if (!serverStartTriggered){ if (Triggers::shouldTrigger("SYSTEM_START")){ - if (!Triggers::doTrigger("SYSTEM_START")){ + if (!Triggers::doTrigger("SYSTEM_START", PACKAGE_VERSION)){ INFO_MSG("Shutting down because of SYSTEM_START trigger response"); conf.is_active = false; }