mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
added the source for the catch function
This commit is contained in:
parent
9c3855beb8
commit
58dbb4d0b6
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ c=0 # zähler; wird für verschiedene Schleifen benötigt
|
||||||
|
|
||||||
# Function to get stderr from command
|
# Function to get stderr from command
|
||||||
# USAGE: catch STDOUT STDERR cmd args..
|
# USAGE: catch STDOUT STDERR cmd args..
|
||||||
|
# Source: https://stackoverflow.com/a/41069638
|
||||||
catch()
|
catch()
|
||||||
{
|
{
|
||||||
eval "$({
|
eval "$({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue