lib/preview: handle unbound parameter
If $BASH_PREVIEW is unset, treat it as blank.pull/1903/head
parent
02c13b7921
commit
bcd67db4ab
|
|
@ -1,4 +1,4 @@
|
||||||
if [[ $BASH_PREVIEW ]];
|
if [[ "${BASH_PREVIEW:-}" ]];
|
||||||
then
|
then
|
||||||
unset BASH_PREVIEW #Prevent infinite looping
|
unset BASH_PREVIEW #Prevent infinite looping
|
||||||
echo "
|
echo "
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue