From 487d2a99077f3a67c41d230feaf226a93df417a8 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 18 Aug 2016 10:27:41 +0200 Subject: [PATCH] Make "clr-check-command" template usable on *nix fixes #12474 --- lib/methods/methods-itl.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/methods/methods-itl.conf b/lib/methods/methods-itl.conf index fea8322b5..4e0c89291 100644 --- a/lib/methods/methods-itl.conf +++ b/lib/methods/methods-itl.conf @@ -37,7 +37,11 @@ System.assert(Internal.run_with_activation_context(function() { } template CheckCommand "clr-check-command" use (_Internal) { - execute = _Internal.ClrCheck + if (_Internal.ClrCheck) { + execute = _Internal.ClrCheck + } else { + execute = _Internal.NullCheck + } } template NotificationCommand "plugin-notification-command" use (_Internal) {