Skip to content

Commit

Permalink
Add the missing space in the 'kernel_reboot' function to keep a consi…
Browse files Browse the repository at this point in the history
…stent style (#72)

Just addin a missing space between the description and the question (asking user to proceed with the reboot) in the 'kernel_reboot' function to keep a consistent style accros the whole script
  • Loading branch information
Antiz96 authored Dec 3, 2023
1 parent 18448e1 commit 6ccddcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/arch-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ kernel_reboot() {
kernel_compare=$(file /boot/vmlinuz* | sed 's/^.*version\ //' | awk '{print $1}' | grep "$(uname -r)")

if [ -z "${kernel_compare}" ]; then
echo -e "--Reboot required--\nThere's a pending kernel update on your system requiring a reboot to be applied"
echo -e "--Reboot required--\nThere's a pending kernel update on your system requiring a reboot to be applied\n"
read -rp $'Would you like to reboot now? [y/N] ' answer

case "${answer}" in
Expand Down

0 comments on commit 6ccddcc

Please sign in to comment.