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)
|
||||
# banlist file.
|
||||
tmpdir=$(mktemp -d)
|
||||
pushd "${tmpdir}"
|
||||
# Suppress output of dir stack.
|
||||
pushd "${tmpdir}" > /dev/null
|
||||
touch "${banlist}"
|
||||
|
||||
# Parse the command line options
|
||||
|
|
Loading…
Reference in a new issue