Suppress output of dirs
when calling pushd
.
This commit is contained in:
parent
a92e7a90b5
commit
9a929d440c
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ trap 'sudo -k; popd; rm -r ${tmpdir}' EXIT
|
||||||
# Create a temp directory, chdir into it and create the (initially empty)
|
# Create a temp directory, chdir into it and create the (initially empty)
|
||||||
# banlist file.
|
# banlist file.
|
||||||
tmpdir=$(mktemp -d)
|
tmpdir=$(mktemp -d)
|
||||||
pushd "${tmpdir}"
|
# Suppress output of dir stack.
|
||||||
|
pushd "${tmpdir}" > /dev/null
|
||||||
touch "${banlist}"
|
touch "${banlist}"
|
||||||
|
|
||||||
# Parse the command line options
|
# Parse the command line options
|
||||||
|
|
Loading…
Reference in a new issue