Skip to content
Snippets Groups Projects

add sudo

Merged Hahn Axel (hahn) requested to merge 6435-check-onehost into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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"
Loading