Skip to content

Commit

Permalink
pmdaopenmetrics: fix script error path bad string formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Apr 9, 2024
1 parent 0c37cef commit 90e74cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmdas/openmetrics/pmdaopenmetrics.python
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ class Source(object):
if self.is_scripted:
# check file still exists and is executable
if not s[ST_MODE] & S_IXUSR:
self.pmda.err("cannot execute '%s': %s" % self.path)
self.pmda.err("cannot execute script '%s'" % self.path)
return
elif self.parse_url_time < s[ST_CTIME]:
# (re)parse the URL from given file
Expand Down

0 comments on commit 90e74cf

Please sign in to comment.