]> ruderich.org/simon Gitweb - punyci/punyci.git/commitdiff
Fix outdated reference to /script in comment
authorSimon Ruderich <simon@ruderich.org>
Sun, 22 Feb 2026 16:37:22 +0000 (17:37 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 22 Feb 2026 16:37:22 +0000 (17:37 +0100)
job.go

diff --git a/job.go b/job.go
index 32da08db156a818f546c944b543154688c27a9c5..e533bc22119d685cd08cf3fbe19ef81bf7a42d7c 100644 (file)
--- a/job.go
+++ b/job.go
@@ -40,10 +40,10 @@ func RunJob(wg *sync.WaitGroup, tmp string, info Info,
                return err
        }
 
-       // Start container but do not run /script yet. We need a way to a) sleep
-       // in case of an error so the user can analyze the failure and b) detect
-       // when /script terminates. The simplest solution is to run /script using
-       // exec while the container just sleeps forever.
+       // Start container but do not run the script yet. We need a way to a)
+       // sleep in case of an error so the user can analyze the failure and b)
+       // detect when the script terminates. The simplest solution is to run the
+       // script using exec while the container just sleeps forever.
        cmd := exec.Command("podman", "run", "--rm", "--detach",
                "--pull", "newer",
                "--log-driver", "none", // don't log to journal