repo: resdb
action: commit
revision: 
path_from: 
revision_from: 179b6140a80a79ac887bc2abeefcbd3767a9d487:
path_to: 
revision_to: 
git.thebackupbox.net
resdb
git clone git://git.thebackupbox.net/resdb
commit 179b6140a80a79ac887bc2abeefcbd3767a9d487
Author: Nick 
Date:   Sun Apr 18 05:24:10 2010 +0000

    made scripts/add_as a bit less user-unfriendly

diff --git a/scripts/add_as b/scripts/add_as
index 5650dcc97cc4f3a59831977dd61f27fc78c33182..
index ..8932700e383a1e4d0b2ce2f02649d42565da1cf6 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

-----END OF PAGE-----