summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-12-28 13:41:29 +0000
committerXiao Pan <gky44px1999@gmail.com>2023-12-28 13:41:29 +0000
commit8fabc92bb726f9a8b824379ba0b0721bfd52fc01 (patch)
tree2770cb3fab55a77b571d5d1090abaee5a495ee6b
parent3fc30f5b4d03344f3c1860ed005428a75ccc939a (diff)
fix: newline char after cli finish
-rwxr-xr-xhome/xyz/.local/bin/upd3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 69c7cf8a..1549e636 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -41,7 +41,8 @@ updated pacman packages: $pacpacs
updated aur packages: $aurpacs
pacdiff: $(pacdiff -o | tr '\n' ' ')
checkrebuild: $(checkrebuild)
-$(if echo "$pacpacs" | grep -q 'linux-[0-9]'; then echo 'kernel upgraded, need reboot'; fi)"
+$(if echo "$pacpacs" | grep -q 'linux-[0-9]'; then echo 'kernel upgraded, need reboot'; fi)
+"
}
qb () {