+argcheck

This commit is contained in:
Nico Schottelius 2019-03-21 20:37:25 +01:00
parent 6f752f3f02
commit d146b8a66b
1 changed files with 6 additions and 0 deletions

View File

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