From 58dbb4d0b6159046ee03379d3fdef75c0c217b61 Mon Sep 17 00:00:00 2001 From: Younes Ichiche Date: Sun, 28 Nov 2021 18:40:18 +0100 Subject: [PATCH] added the source for the catch function --- plugins/router/mikrotik_system | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/router/mikrotik_system b/plugins/router/mikrotik_system index b715a7d4..0346ebcf 100755 --- a/plugins/router/mikrotik_system +++ b/plugins/router/mikrotik_system @@ -47,6 +47,7 @@ c=0 # zähler; wird für verschiedene Schleifen benötigt # Function to get stderr from command # USAGE: catch STDOUT STDERR cmd args.. +# Source: https://stackoverflow.com/a/41069638 catch() { eval "$({