Fixes SCREEN_HARDSTATUS default value
If SCREEN_HARDSTATUS is null, default it to "", not ":". Change-Id: I52d4eb6bb494cca995e33971d5f1eec953d484fd
This commit is contained in:
parent
1acfc028a6
commit
ff72c5050e
2
stack.sh
2
stack.sh
@ -916,7 +916,7 @@ if [[ "$USE_SCREEN" == "True" ]]; then
|
|||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
# Set a reasonable status bar
|
# Set a reasonable status bar
|
||||||
SCREEN_HARDSTATUS=${SCREEN_HARDSTATUS-:}
|
SCREEN_HARDSTATUS=${SCREEN_HARDSTATUS:-}
|
||||||
if [ -z "$SCREEN_HARDSTATUS" ]; then
|
if [ -z "$SCREEN_HARDSTATUS" ]; then
|
||||||
SCREEN_HARDSTATUS='%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'
|
SCREEN_HARDSTATUS='%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user