13 lines
292 B
Bash
Executable File
13 lines
292 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for arg in "$@"; do
|
|
case "$arg" in
|
|
# Add our own version so we can check that the wrapper is used for that.
|
|
"--version") echo "release: 12345.6789.0" ;;
|
|
# Read all input so the writer doesn't get EPIPE when we exit.
|
|
"-") read -d "" PROBE ;;
|
|
esac
|
|
done
|
|
|
|
exit 0
|