mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix CUR_JOB to start with Zero
This commit is contained in:
parent
1eb57ecd3b
commit
1f775050b1
@ -4,7 +4,7 @@
|
|||||||
function join_by { local IFS="$1"; shift; echo "$*"; }
|
function join_by { local IFS="$1"; shift; echo "$*"; }
|
||||||
|
|
||||||
# Arguments:
|
# Arguments:
|
||||||
CUR_JOB=$1
|
CUR_JOB=$(expr $1 - 1)
|
||||||
MAX_JOBS=$2
|
MAX_JOBS=$2
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user