Skip to content

Commit 01fecb2

Browse files
committed
theme/binaryanomaly
1 parent 5c636d0 commit 01fecb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/binaryanomaly/binaryanomaly.theme.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Detect whether a reboot is required
55
function show_reboot_required() {
6-
if [[ -n "${_bf_prompt_reboot_info}" ]]; then
6+
if [[ -n "${_bf_prompt_reboot_info:-}" ]]; then
77
if [[ -f /var/run/reboot-required ]]; then
88
printf '%s' "Reboot required!"
99
fi

0 commit comments

Comments
 (0)