summaryrefslogtreecommitdiff
path: root/scripts/add_as
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2010-04-23 14:23:09 +0000
committerNick <nick@somerandomnick.ano>2010-04-23 14:23:09 +0000
commitd895d7d758ee8a26dac6c9ccae4f55c5624f17d1 (patch)
treec323bf6514847180614d45ba444d1cf05f775c51 /scripts/add_as
parent5d12e83d871ab74b4c382fa2dd69cd86cb246611 (diff)
downloadresdb-d895d7d758ee8a26dac6c9ccae4f55c5624f17d1.tar.gz
resdb-d895d7d758ee8a26dac6c9ccae4f55c5624f17d1.zip
changed scripts/add_as to refuse to clobber an existing AS
Diffstat (limited to 'scripts/add_as')
-rwxr-xr-xscripts/add_as2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/add_as b/scripts/add_as
index 8932700..42dcd10 100755
--- a/scripts/add_as
+++ b/scripts/add_as
@@ -4,5 +4,5 @@ if [ x"$2" = x ]; then
echo "Usage: $0 <ASN> <owner>" >&2; exit 255
fi
-mkdir -p db/as/$1 || exit 1
+mkdir db/as/$1 || exit 1
echo $2 > db/as/$1/owner