Projet

Général

Profil

Révision 58dbb4d0

ID58dbb4d0b6159046ee03379d3fdef75c0c217b61
Parent 9c3855be
Enfant 3dd16cc5

Ajouté par Younes Ichiche il y a presque 4 ans

added the source for the catch function

Voir les différences:

plugins/router/mikrotik_system
47 47

  
48 48
# Function to get stderr from command
49 49
# USAGE: catch STDOUT STDERR cmd args..
50
# Source: https://stackoverflow.com/a/41069638
50 51
catch()
51 52
{
52 53
eval "$({

Formats disponibles : Unified diff