From 6ccddccd74f27cd944dfc311e08679589c30e889 Mon Sep 17 00:00:00 2001 From: Robin Candau <53110319+Antiz96@users.noreply.github.com> Date: Sun, 3 Dec 2023 20:44:13 +0100 Subject: [PATCH] Add the missing space in the 'kernel_reboot' function to keep a consistent 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 --- src/script/arch-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index 21200c9..a2ea9dc 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -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