Commit 9f972664 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Redo sbatch's script reading and verification code:

morrone:/tmp$ echo | sbatch
sbatch: error: Batch script contains only whitespace!
morrone:/tmp$ echo -n | sbatch
sbatch: error: Batch script is empty!
morrone:/tmp$ echo foobar |sbatch
sbatch: error: This does not look like a batch script.  The first
sbatch: error: line must start with #! followed by the path to an interpreter.
sbatch: error: For instance: #!/bin/sh
parent 9c10d2ff
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment