Browse Source

wall: enhanced to support the case when $USER not declared

0.2-maint
Alejandro Mery 16 years ago
parent
commit
87cf188453
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      initramfs/bin_wall.sh

+ 1
- 1
initramfs/bin_wall.sh

@ -18,7 +18,7 @@ tmpfile=/tmp/wall.$$
trap "rm -f $tmpfile" INT
cat <<EOT > $tmpfile
Broadcast Message from $USER@$(hostname)
Broadcast Message from ${USER:-root}@$(hostname)
($(tty)) at $(date) ...
EOT
cat >> $tmpfile

Loading…
Cancel
Save