we use this script inside a rootless-pod (https://github.com/moby/buildkit/blob/master/examples/kubernetes/pod.rootless.yaml) to perform our builds and call it via a CI/CD tool, which returns a non-zero exit code, as the trap cannot kill the process, as it is already gone, in case everything went fine
so we need to catch the error code from kill, which tries to kill a process that doesn't exist anymore and the suggestion is to just add || true, because we don't care about the exit code of kill
```
#17 DONE 4.2s
sh: can't kill pid 65: No such process
command terminated with exit code 1
```
Signed-off-by: Steve Lohr <schdief.law@gmail.com>
When the special positional params character isn't enclosed in double
quotes it prevents users from passing in arguments spanning multiple
words. For example, `--opt build-arg:"word1 word2"` fails. Enclosing in
double quotes treats each parameter as a separate word.
More here:
https://tiswww.case.edu/php/chet/bash/bashref.html#index-_0024_0040
Signed-off-by: Anurag Goel <anurag@render.com>