Commit 71fbedb
committed
shell: check return code of close(2) when writing batch script
Problem: The job shell batch plugin doesn't check the return code
of the close(2) system call when writing a batch script using the
old-style attributes.system.batch script.
Check the return code and fail if nonzero.1 parent 999efbf commit 71fbedb
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
| |||
0 commit comments