From 179b6140a80a79ac887bc2abeefcbd3767a9d487 Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 18 Apr 2010 05:24:10 +0000 Subject: made scripts/add_as a bit less user-unfriendly --- scripts/add_as | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/add_as b/scripts/add_as index 5650dcc..8932700 100755 --- a/scripts/add_as +++ b/scripts/add_as @@ -1,3 +1,8 @@ #!/bin/sh + +if [ x"$2" = x ]; then + echo "Usage: $0 " >&2; exit 255 +fi + mkdir -p db/as/$1 || exit 1 echo $2 > db/as/$1/owner -- cgit v1.2.3