diff options
-rwxr-xr-x | bin/ravanan | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ravanan b/bin/ravanan index 1d08dc6..2b44163 100755 --- a/bin/ravanan +++ b/bin/ravanan @@ -94,6 +94,8 @@ Slurm API batch system options: (define (read-jwt file) "Read JWT token from @var{file}. Support both files that only have the token and files that have the token in the @verbatim{SLURM_JWT=token} format." + ;; We support the SLURM_JWT=token format because that's how `scontrol token' + ;; outputs it. (call-with-input-file file (compose (cut string-trim-prefix "SLURM_JWT=" <>) string-trim-both |