check for empty argument list

This commit is contained in:
Brian Wellington
2000-06-09 00:37:56 +00:00
parent 9403a56228
commit dbf0c4c5fb

View File

@@ -19,6 +19,8 @@
# Stop name servers.
#
test $# -gt 0 || { echo "usage: $0 test-directory" >&2; exit 1; }
cd $1
for d in ns*