Fixes SCREEN_HARDSTATUS default value

If SCREEN_HARDSTATUS is null, default it to "", not ":".

Change-Id: I52d4eb6bb494cca995e33971d5f1eec953d484fd
This commit is contained in:
Ed Cranford 2015-01-21 16:42:42 -06:00
parent 1acfc028a6
commit ff72c5050e

View File

@ -916,7 +916,7 @@ if [[ "$USE_SCREEN" == "True" ]]; then
sleep 1
# Set a reasonable status bar
SCREEN_HARDSTATUS=${SCREEN_HARDSTATUS-:}
SCREEN_HARDSTATUS=${SCREEN_HARDSTATUS:-}
if [ -z "$SCREEN_HARDSTATUS" ]; then
SCREEN_HARDSTATUS='%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'
fi