+argcheck

This commit is contained in:
Nico Schottelius 2019-03-21 20:37:25 +01:00
parent 6f752f3f02
commit d146b8a66b

View file

@ -1,6 +1,12 @@
#!/bin/sh #!/bin/sh
if [ $# -ne 2 ]; then
echo "$0 host name"
exit 1
fi
set -x set -x
host=$1 host=$1
name=$2 name=$2