aboutsummaryrefslogtreecommitdiff
path: root/prometheus_pacman_exporter/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'prometheus_pacman_exporter/__init__.py')
-rw-r--r--prometheus_pacman_exporter/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prometheus_pacman_exporter/__init__.py b/prometheus_pacman_exporter/__init__.py
index 6543f2f..e957662 100644
--- a/prometheus_pacman_exporter/__init__.py
+++ b/prometheus_pacman_exporter/__init__.py
@@ -166,7 +166,7 @@ def run_command(
error(f"Command ({command_string}) failed with exit code:", str(result.returncode))
if result.stderr:
error("stderr:", result.stderr.strip())
- ctx.exit(1)
+ ctx.exit(1)
return result