Development
This commit is contained in:
parent
46afed7965
commit
d45a719ef1
1 changed files with 2 additions and 0 deletions
|
|
@ -909,6 +909,8 @@ def main():
|
||||||
return
|
return
|
||||||
|
|
||||||
if args.view_metrics:
|
if args.view_metrics:
|
||||||
|
if not shared.is_root():
|
||||||
|
die("This script must be run as root (sudo).")
|
||||||
metrics.show_metrics(data)
|
metrics.show_metrics(data)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue