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

add sudo

parent ed4cd939
No related branches found
No related tags found
1 merge request!102add sudo
...@@ -71,7 +71,7 @@ typeset -i iCriticalLimit=$( ph.getValueWithParam 2 c "$@") ...@@ -71,7 +71,7 @@ typeset -i iCriticalLimit=$( ph.getValueWithParam 2 c "$@")
# --- get data # --- get data
cmdout=$( onehost list --csv 2>&1 ) cmdout=$( sudo onehost list --csv 2>&1 )
if ! grep "ID,NAME" <<< "$cmdout" >/dev/null; then if ! grep "ID,NAME" <<< "$cmdout" >/dev/null; then
ph.setStatus "unknown" ph.setStatus "unknown"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment