diff options
-rwxr-xr-x | bin/awd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |