validated calling out to logname
[feisty_meow.git] / scripts / tty / terminal_titler.sh
index 0203b9ae7fd771bbacbc80b1c2d2319e34462e3f..9ef4f1c10c15347dd116745aa4260d4ddd257b98 100644 (file)
@@ -102,7 +102,7 @@ function label_terminal_with_info()
     fi
     pruned_host=$(echo $HOSTNAME | sed -e 's/^\([^\.]*\)\..*$/\1/')
     date_string=$(date +"%Y %b %e @ %T")
-    user=$(logname)
+    user="$(logname)"
     if [ -z "$user" ]; then
       # try snagging the windoze name.
       user=$USERNAME