mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
parent
bb72982b79
commit
63097b491d
1 changed files with 1 additions and 1 deletions
2
bin/awd
2
bin/awd
|
@ -15,7 +15,7 @@ case $# in
|
||||||
;;
|
;;
|
||||||
0)
|
0)
|
||||||
# hostname -s sets the hostname to "-s" on Solaris
|
# hostname -s sets the hostname to "-s" on Solaris
|
||||||
sys=`hostname |sed 's/\..*//'`
|
sys=${sysname:-$(hostname |sed 's/\..*//')}
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
|
|
Loading…
Reference in a new issue