From c677986a3e2c74e57ec82ca87d3ac3daabb7ea46 Mon Sep 17 00:00:00 2001 From: John D Pell Date: Sat, 18 Sep 2021 23:54:25 -0700 Subject: [PATCH] theme/binaryanomaly --- themes/binaryanomaly/binaryanomaly.theme.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/binaryanomaly/binaryanomaly.theme.bash b/themes/binaryanomaly/binaryanomaly.theme.bash index 9b572d7e90..3501e8d469 100644 --- a/themes/binaryanomaly/binaryanomaly.theme.bash +++ b/themes/binaryanomaly/binaryanomaly.theme.bash @@ -3,7 +3,7 @@ # Detect whether a reboot is required function show_reboot_required() { - if [[ -n "${_bf_prompt_reboot_info}" ]]; then + if [[ -n "${_bf_prompt_reboot_info:-}" ]]; then if [[ -f /var/run/reboot-required ]]; then printf '%s' "Reboot required!" fi