Skip to content

Commit

Permalink
theme/binaryanomaly
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelicWizard committed Feb 14, 2022
1 parent 966bca0 commit 0717965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/binaryanomaly/binaryanomaly.theme.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0717965

Please sign in to comment.