mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
Remove error if i doesn't exist, remove useless line
This commit is contained in:
parent
53842e8582
commit
659593c60d
2 changed files with 1 additions and 2 deletions
|
@ -18,6 +18,7 @@ basepath="/var/lib/lxc/piston/rootfs"
|
|||
exec 200>$dir/lockfile
|
||||
flock 200
|
||||
|
||||
touch $dir/i
|
||||
runner=$(cat $dir/i)
|
||||
let 'runner = runner % 150 + 1'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue