plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 63097b491dc7b5dc50d76b5720d20e9450fbe9b8
parent bb72982b79e09bb055930c2877ac7077b341cf84
Author: Russ Cox <rsc@swtch.com>
Date:   Tue, 12 Oct 2010 10:14:27 -0400

awd: use $sysname

R=rsc
http://codereview.appspot.com/2458041

Diffstat:
Mbin/awd | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/awd b/bin/awd @@ -15,7 +15,7 @@ case $# in ;; 0) # hostname -s sets the hostname to "-s" on Solaris - sys=`hostname |sed 's/\..*//'` + sys=${sysname:-$(hostname |sed 's/\..*//')} ;; *) usage