-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: resdb action: commit revision: path_from: revision_from: 179b6140a80a79ac887bc2abeefcbd3767a9d487: path_to: revision_to:
commit 179b6140a80a79ac887bc2abeefcbd3767a9d487 Author: Nick <nick@somerandomnick.ano> 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
--- a/scripts/add_as +++ b/scripts/add_as @@ -1,3 +1,8 @@ #!/bin/sh + +if [ x"$2" = x ]; then + echo "Usage: $0 <ASN> <owner>" >&2; exit 255 +fi + mkdir -p db/as/$1 || exit 1 echo $2 > db/as/$1/owner
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 11:06:03 2024