From 99139f4ac81f2983e75d4eee6b68b354537b816a Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Wed, 8 Jun 2011 14:14:09 -0700
Subject: [PATCH] Correct explanation of depend=afterok

Correct several man pages describing what a dpendency of afterok means.
---
 doc/man/man1/salloc.1   | 2 +-
 doc/man/man1/sbatch.1   | 2 +-
 doc/man/man1/scontrol.1 | 2 +-
 doc/man/man1/srun.1     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/man/man1/salloc.1 b/doc/man/man1/salloc.1
index 658c18cb9c5..d10e5d96f0e 100644
--- a/doc/man/man1/salloc.1
+++ b/doc/man/man1/salloc.1
@@ -313,7 +313,7 @@ in some failed state (non-zero exit code, node failure, timed out, etc).
 .TP
 \fBafterok:job_id[:jobid...]\fR
 This job can begin execution after the specified jobs have successfully
-executed (ran to completion with non-zero exit code).
+executed (ran to completion with an exit code of zero).
 .TP
 \fBsingleton\fR
 This job can begin execution after any previously launched jobs
diff --git a/doc/man/man1/sbatch.1 b/doc/man/man1/sbatch.1
index 0c0ed5ecd02..0cdfa03e1e3 100644
--- a/doc/man/man1/sbatch.1
+++ b/doc/man/man1/sbatch.1
@@ -322,7 +322,7 @@ in some failed state (non-zero exit code, node failure, timed out, etc).
 .TP
 \fBafterok:job_id[:jobid...]\fR
 This job can begin execution after the specified jobs have successfully
-executed (ran to completion with non-zero exit code).
+executed (ran to completion with an exit code of zero).
 .TP
 \fBsingleton\fR
 This job can begin execution after any previously launched jobs
diff --git a/doc/man/man1/scontrol.1 b/doc/man/man1/scontrol.1
index 385c51449c4..5999834c206 100644
--- a/doc/man/man1/scontrol.1
+++ b/doc/man/man1/scontrol.1
@@ -424,7 +424,7 @@ in some failed state (non-zero exit code, node failure, timed out, etc).
 .TP
 \fBafterok:job_id[:jobid...]\fR
 This job can begin execution after the specified jobs have successfully
-executed (ran to completion with non-zero exit code).
+executed (ran to completion with an exit code of zero).
 .TP
 \fBsingleton\fR
 This job can begin execution after any previously launched jobs
diff --git a/doc/man/man1/srun.1 b/doc/man/man1/srun.1
index b17e144e0a2..8187ac65df8 100644
--- a/doc/man/man1/srun.1
+++ b/doc/man/man1/srun.1
@@ -336,7 +336,7 @@ in some failed state (non-zero exit code, node failure, timed out, etc).
 .TP
 \fBafterok:job_id[:jobid...]\fR
 This job can begin execution after the specified jobs have successfully
-executed (ran to completion with non-zero exit code).
+executed (ran to completion with an exit code of zero).
 .TP
 \fBsingleton\fR
 This job can begin execution after any previously launched jobs
-- 
GitLab