Commit 1f6deb03 by Scott Duckworth

make sure curl is silent

parent d9f5573d
......@@ -4,10 +4,10 @@ url="$1"
if [ $# -eq 1 ]; then
read line
fingerprint=$(ssh-keygen -lf /dev/stdin <<< $line | cut -f2 -d' ')
exec curl -G "$url" --data-urlencode "fingerprint=${fingerprint}"
exec curl -s -G "$url" --data-urlencode "fingerprint=${fingerprint}"
elif [ $# -eq 2 ]; then
exec curl -G "$url" --data-urlencode "username=${username}"
exec curl -s -G "$url" --data-urlencode "username=${username}"
echo "Invalid number of arguments" >&2
exit 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment