1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

added the source for the catch function

This commit is contained in:
Younes Ichiche 2021-11-28 18:40:18 +01:00 committed by Lars Kruse
parent 9c3855beb8
commit 58dbb4d0b6

View file

@ -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 "$({