diff options
author | venaas <venaas> | 2008-06-02 13:56:29 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-06-02 13:56:29 +0000 |
commit | 82b55cc05184e96d968788fbbcfc6e9326099ba5 (patch) | |
tree | afb37335a6e1ccd6f34fff6b4e0ecec2df4f9918 /dynsrv.sh | |
parent | 990387e14440d988aab1850e756bdc84626b3a45 (diff) |
checking exit code from dynsrvlookup
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@272 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'dynsrv.sh')
-rwxr-xr-x | dynsrv.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,5 +1,6 @@ #! /bin/sh srv=`host -t srv _radsec._tcp.$1` +# should do exit 1 or something if host command fails host=`echo $srv|cut -d\ -f8` port=`echo $srv|cut -d\ -f7` echo "server $1-$host {" |