Skip to content
Snippets Groups Projects
Commit b90dcbaf authored by Moe Jette's avatar Moe Jette
Browse files

minor change to log messasge

parent c31d8628
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,11 @@ run_script(const char *name, const char *path, uint32_t jobid, ...@@ -72,7 +72,11 @@ run_script(const char *name, const char *path, uint32_t jobid,
if (path == NULL || path[0] == '\0') if (path == NULL || path[0] == '\0')
return 0; return 0;
debug("[job %u] attempting to run %s [%s]", jobid, name, path); if (jobid) {
debug("[job %u] attempting to run %s [%s]",
jobid, name, path);
} else
debug("attempting to run %s [%s]", name, path);
if (access(path, R_OK | X_OK) < 0) { if (access(path, R_OK | X_OK) < 0) {
debug("Not running %s [%s]: %m", name, path); debug("Not running %s [%s]: %m", name, path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment