Skip to content
Snippets Groups Projects
Commit b46130be authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch '6648-netio-syntax-error' into 'master'

fix syntax error -eq: unary operator expected

See merge request !160
parents d03d07a1 51a5e63d
No related branches found
No related tags found
1 merge request!160fix syntax error -eq: unary operator expected
...@@ -9,12 +9,13 @@ ...@@ -9,12 +9,13 @@
# 2023-08-21 v1.1 <axel.hahn@unibe.ch> add help; add param -i # 2023-08-21 v1.1 <axel.hahn@unibe.ch> add help; add param -i
# 2023-08-22 v1.2 <axel.hahn@unibe.ch> send perf data on single interface too; interfaces in alphabetic order; no more tmp file # 2023-08-22 v1.2 <axel.hahn@unibe.ch> send perf data on single interface too; interfaces in alphabetic order; no more tmp file
# 2023-08-22 v1.3 <axel.hahn@unibe.ch> show status line with 2 digits after "." # 2023-08-22 v1.3 <axel.hahn@unibe.ch> show status line with 2 digits after "."
# 2023-09-22 v1.4 <axel.hahn@unibe.ch> fix syntax error -eq: unary operator expected
# ====================================================================== # ======================================================================
. $( dirname $0 )/inc_pluginfunctions . $( dirname $0 )/inc_pluginfunctions
export self_APPVERSION=1.2 export self_APPVERSION=1.4
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
...@@ -57,9 +58,9 @@ EOF ...@@ -57,9 +58,9 @@ EOF
# MAIN # MAIN
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
bOptHelp=$( ph.hasParamoption "h" "$@") ph.hasParamoption "h" "$@"; bOptHelp=$?
if [ $bOptHelp -eq 1 ]; then if [ $bOptHelp -eq 0 ]; then
showHelp showHelp
exit 0 exit 0
fi fi
......
...@@ -17,7 +17,7 @@ This plugin scans `/proc/net/dev` with the regex `eth|en[ops][0-9]*` to show a f ...@@ -17,7 +17,7 @@ This plugin scans `/proc/net/dev` with the regex `eth|en[ops][0-9]*` to show a f
______________________________________________________________________ ______________________________________________________________________
CHECK_NETIO CHECK_NETIO
v1.1 v1.4
(c) Institute for Medical Education - University of Bern (c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3 Licence: GNU GPL 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment