Commit ca70e0c
K8SPSMDB-1018: fix incorrect Bash quoting in ps-entry.sh script (#1382)
* minor fixes for shellcheck warnings/errors
* K8SPSMDB-1018: fix incorrect Bash quoting in ps-entry.sh script
The variable with `numactl` command was quoted, so it was
added to the list of positional parameters as a quoted string,
therefore causing `exec "$@"` call to fail. This commit changes
the variable to an array, so that it can be properly quoted
and does not trigger Shellcheck SC-2086 warning.
---------
Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com>1 parent 63dfcfe commit ca70e0c
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| 401 | + | |
401 | 402 | | |
402 | 403 | | |
403 | 404 | | |
| |||
0 commit comments