Hide the error output from sed(1) unless --verbose is used
It's unlikely that sed(1) will generate any error output, but still it's good to handle it for the sake of completeness.
This commit is contained in:
parent
cc0caef627
commit
be719eac89
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ while [[ "$1" = -* ]]; do
|
||||||
echo "Try '$0 --help' for more information."
|
echo "Try '$0 --help' for more information."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
arg=$(echo $1 | sed 's/^F\|^f//')
|
arg=$(echo $1 | sed 's/^F\|^f//' 2>&42)
|
||||||
if ! is_integer $arg; then
|
if ! is_integer $arg; then
|
||||||
echo "$0: invalid argument for '--release'"
|
echo "$0: invalid argument for '--release'"
|
||||||
echo "Try '$0 --help' for more information."
|
echo "Try '$0 --help' for more information."
|
||||||
|
|
Loading…
Reference in a new issue