hget: fix stderr redirection bug

This commit is contained in:
cinap_lenrek 2012-01-22 23:28:45 +01:00
parent e6cf72dd71
commit 29b26a2f17

View file

@ -1,7 +1,7 @@
#!/bin/rc
argv0=$0
fn usage {
echo usage: $argv0 [ -o file ] [ -p body ] [ -r header ] [ -m method ] [ -b baseurl ] url >[2=1]
echo usage: $argv0 [ -o file ] [ -p body ] [ -r header ] [ -m method ] [ -b baseurl ] url >[1=2]
exit usage
}
s=0