Skip to content

Commit c746815

Browse files
authored
update
1 parent 72cab6b commit c746815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobArray.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ function echoMe {
1717
exit 0
1818
}
1919

20-
echoMe ${input[$SGE_TASK_ID]}
20+
echoMe ${input[$SGE_TASK_ID-1]} # as $SGE_TASK_ID starts from 1 and bash array index starts from 0

0 commit comments

Comments
 (0)