| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
for arg in "$@"; do |
| 4 |
case "$arg" in |
| 5 |
# Add our own version so we can check that the wrapper is used for that. |
| 6 |
"--version") echo "release: 12345.6789.0" ;; |
| 7 |
# Read all input so the writer doesn't get EPIPE when we exit. |
| 8 |
"-") read -d "" PROBE ;; |
| 9 |
esac |
| 10 |
done |
| 11 |
|
| 12 |
exit 0 |