Signed-off-by: Volker Theile <votdev@gmx.de>
This commit is contained in:
Volker Theile 2024-06-17 13:45:41 +02:00
parent f8f5c3b710
commit 94ee20dc0d
No known key found for this signature in database
GPG Key ID: C1887490ACA4CF4E

View File

@ -41,7 +41,7 @@ def call_rrdtool_graph(args):
"""
Call the rrdtool command line executable with the given arguments.
"""
# The command below does not work because the RRD tool synatx is escaped
# The command below does not work because the RRD tool syntax is escaped
# and the graph legend is not rendered as expected.
# return openmediavault.subprocess.check_output(['rrdtool', 'graph', *args])
return os.system(' '.join(['rrdtool', 'graph', *args, '>/dev/null']))