diff --git a/gab b/gab index bae0fb7..08305ee 100755 --- a/gab +++ b/gab @@ -11,7 +11,7 @@ help_text=$'GAB - A simple chat interface\n\nsyntax: gab [flag] [value]\n\nflag file_path=/var/spool/uucppublic/chat.txt title="GAB v1.0" last_date="Last message: $(date -r $file_path)" -HOST=`grep "nodename" /etc/uucp/config | tail -n1 | cut -f 2` +HOST=$(uuname -l) if [ -z "$1" ] then